2013-07-09 Tristan Gingold <gingold@adacore.com>
[binutils-gdb.git] / bfd / hosts / alphavms.h
blob8d21826f6ec4e5b26d60302b3d34481abc3824fd
1 /* alphavms.h -- BFD definitions for an openVMS host
2 Copyright 1996, 2000, 2001, 2005, 2007, 2008, 2009
3 Free Software Foundation, Inc.
4 Written by Klaus Kämpf (kkaempf@progis.de)
5 of proGIS Softwareentwicklung, Aachen, Germany
7 This file is part of BFD, the Binary File Descriptor library.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
22 MA 02110-1301, USA. */
24 #ifdef PACKAGE
25 #error sysdep.h must be included in lieu of config.h
26 #endif
28 #include "config.h"
29 #include "ansidecl.h"
31 #include <stddef.h>
32 #include <fcntl.h>
33 #include <errno.h>
34 #include <stdio.h>
35 #include <sys/types.h>
36 #include <sys/stat.h>
37 #include <string.h>
38 #include <sys/file.h>
39 #include <stdlib.h>
40 #include <unixlib.h>
41 #include <unixio.h>
42 #include <time.h>
44 #include "filenames.h"
45 #include "fopen-vms.h"
47 #define NO_FCNTL 1
49 #ifndef O_ACCMODE
50 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
51 #endif
53 extern int getpagesize (void);
54 extern char *stpcpy (char *, const char *);
56 /* No intl. */
57 #define gettext(Msgid) (Msgid)
58 #define dgettext(Domainname, Msgid) (Msgid)
59 #define dcgettext(Domainname, Msgid, Category) (Msgid)
60 #define textdomain(Domainname) while (0) /* nothing */
61 #define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
62 #define _(String) (String)
63 #define N_(String) (String)