File: vms.h

package info (click to toggle)
regina 3.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,928 kB
  • ctags: 7,233
  • sloc: ansic: 50,555; sh: 2,727; lex: 2,298; yacc: 1,498; makefile: 1,010; cpp: 117
file content (44 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* vms configuration - it was easier to separate it from configur.h */
#if !defined(_VMS_H_INCLUDED)
# define _VMS_H_INCLUDED

# include <unixlib.h>
# define fork() vfork()      /* necessary */
# include <processes.h>      /* should pull in vfork() */
# if defined(__DECC)
#   define HAVE_SETJMP_H
#   define HAVE_STRING_H
#   define HAVE_UNISTD_H
#   define HAVE_LIMITS_H
#   define HAVE_SYS_SOCKET_H
#   define HAVE_NETINET_IN_H
#   define HAVE_NETDB_H
#   if __CRTL_VER >= 70000000
#     include <fcntl.h>      /* necessary for posix_do_command */
#     include <sys/utsname.h>
#     define HAVE_PUTENV
#     define HAVE_FTRUNCATE
#     define HAVE_RANDOM
#     define HAVE_USLEEP
#     if !defined _VMS_V6_SOURCE
#       define HAVE_GETTIMEOFDAY
#     endif
#   else
#     include "utsname.h"    /* for unxfuncs */
#   endif
#   define HAVE_FTIME
#   define HAVE_MEMCPY
#   define HAVE_MEMMOVE
#   define HAVE_STRERROR
#   define HAVE_VFPRINTF
#   define TIME_WITH_SYS_TIME
#   define _XOPEN_SOURCE_EXTENDED
# endif
# ifndef _MAX_PATH
#   define _MAX_PATH PATH_MAX
# endif
# ifdef DYNAMIC
#   define DYNAMIC_VMS
# endif

#endif