alphavms.h 1.9 KB

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