Automatic date update in version.in
[binutils-gdb.git] / bfd / hosts / alphavms.h
blobbe970105aa09124aa9361b91393bda37e35180b1
1 /* alphavms.h -- BFD definitions for an openVMS host
2 Copyright (C) 1996-2022 Free Software Foundation, Inc.
3 Written by Klaus Kämpf (kkaempf@progis.de)
4 of proGIS Softwareentwicklung, Aachen, Germany
6 This file is part of BFD, the Binary File Descriptor library.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
23 #ifdef PACKAGE
24 #error sysdep.h must be included in lieu of config.h
25 #endif
27 #include "config.h"
28 #include "ansidecl.h"
30 #include <stddef.h>
31 #include <fcntl.h>
32 #include <errno.h>
33 #include <stdio.h>
34 #include <sys/types.h>
35 #include <sys/stat.h>
36 #include <string.h>
37 #include <sys/file.h>
38 #include <stdlib.h>
39 #include <unixlib.h>
40 #include <unixio.h>
41 #include <time.h>
43 #include "filenames.h"
44 #include "fopen-vms.h"
46 #define NO_FCNTL 1
48 #ifndef O_ACCMODE
49 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
50 #endif
52 extern int getpagesize (void);
53 extern char *stpcpy (char *, const char *);
55 /* No intl. */
56 #define gettext(Msgid) (Msgid)
57 #define dgettext(Domainname, Msgid) (Msgid)
58 #define dcgettext(Domainname, Msgid, Category) (Msgid)
59 #define ngettext(Msgid1, Msgid2, n) \
60 (n == 1 ? Msgid1 : Msgid2)
61 #define dngettext(Domainname, Msgid1, Msgid2, n) \
62 (n == 1 ? Msgid1 : Msgid2)
63 #define dcngettext(Domainname, Msgid1, Msgid2, n, Category) \
64 (n == 1 ? Msgid1 : Msgid2)
65 #define textdomain(Domainname) do {} while (0)
66 #define bindtextdomain(Domainname, Dirname) do {} while (0)
67 #define _(String) (String)
68 #define N_(String) (String)