blob: 7588caebfe359fab9fc2440b8fd6a9ddd0b09bf8 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* os_vms_conf.h. Replaces auto/config.h for VMS */
2
3#define CASE_INSENSITIVE_FILENAME /* Open VMS is case insensitive */
4#define SPACE_IN_FILENAME /* There could be space between user and passwd */
5#define FNAME_ILLEGAL "|*#?%" /* Illegal characters in a file name */
6#define BINARY_FILE_IO /* Use binary fileio */
7#define USE_GETCWD
8#define USE_SYSTEM
Bram Moolenaar88c86eb2019-01-17 17:13:30 +01009#define XPMATTRIBUTES_TYPE XpmAttributes
Bram Moolenaar071d4272004-06-13 20:20:40 +000010
11/* Define when terminfo support found */
12#undef TERMINFO
13
14/* Define when termcap.h contains ospeed */
15/* #define HAVE_OSPEED */
16
17/* Define when termcap.h contains UP, BC and PC */
18/* #define HAVE_UP_BC_PC */
19
20/* Define when termcap.h defines outfuntype */
21/*#define HAVE_OUTFUNTYPE */
22
23/* Define when __DATE__ " " __TIME__ can be used */
24#define HAVE_DATE_TIME
25
26/* Defined to the size of an int */
Bram Moolenaare809a4e2019-07-04 17:35:05 +020027#define VIM_SIZEOF_INT 4
Bram Moolenaar071d4272004-06-13 20:20:40 +000028
29/* #undef USEBCOPY */
30#define USEMEMMOVE
31/* #undef USEMEMCPY */
32
33/* Define when "man -s 2" is to be used */
34/* #undef USEMAN_S */
35
36/* Define to empty if the keyword does not work. */
37/* #undef const */
38
39/* Define to `int' if <sys/types.h> doesn't define. */
40/* #undef mode_t */
41
42/* Define to `long' if <sys/types.h> doesn't define. */
43/* #undef off_t */
44
45/* Define to `long' if <sys/types.h> doesn't define. */
46/* #undef pid_t */
47
48/* Define to `unsigned' if <sys/types.h> doesn't define. */
49/* #undef size_t */
50
51/* Define to `int' if <sys/types.h> doesn't define. */
52/* #undef uid_t */
53
Bram Moolenaar8e469272010-07-28 19:38:16 +020054/* Define to `unsigned int' or other type that is 32 bit. */
55#define UINT32_T unsigned int
56
Bram Moolenaar071d4272004-06-13 20:20:40 +000057/* Define to `int' if <sys/types.h> doesn't define. */
58/* #undef gid_t */
59
60/* Define to `long' if <sys/types.h> doesn't define. */
61/* #undef ino_t */
62
63/* Define if you have the nanosleep() function. */
64/* #undef HAVE_NANOSLEEP */
65
66/* Define if you can safely include both <sys/time.h> and <time.h>. */
67#define TIME_WITH_SYS_TIME
68
69/* Define if you can safely include both <sys/time.h> and <sys/select.h>. */
70/* #undef SYS_SELECT_WITH_SYS_TIME */
71
72/* Define as the return type of signal handlers (int or void). */
73#define RETSIGTYPE void
74
75/* Define as the command at the end of signal handlers ("" or "return 0;"). */
76#define SIGRETURN return
77
78/* Define if struct sigcontext is present */
79#define HAVE_SIGCONTEXT
80
Bram Moolenaar2bb8df22007-05-10 17:26:28 +000081/* Define if toupper/tolower only work on lower/uppercase characters */
Bram Moolenaar071d4272004-06-13 20:20:40 +000082/* #define BROKEN_TOUPPER */
83
84/* Define if tgetstr() has a second argument that is (char *) */
85/* #undef TGETSTR_CHAR_P */
86
87/* Define if you have the sigset() function. */
88/* #undef HAVE_SIGSET */
89
90/* Define if you have the setpgid() function. */
91/* #undef HAVE_SETPGID */
92
93/* Define if you have the setsid() function. */
94/* #undef HAVE_SETSID */
95
96/* Define if you have the sigset() function. */
97/* #undef HAVE_SIGSET */
98
99#define TGETENT_ZERO_ERR
100#define HAVE_GETCWD
101#define HAVE_STRCSPN
102#define HAVE_STRTOL
103#define HAVE_TGETENT
104#define HAVE_MEMSET
Bram Moolenaar071d4272004-06-13 20:20:40 +0000105#define HAVE_STRERROR
106#define HAVE_FCHOWN
107#define HAVE_RENAME
108#define HAVE_QSORT
109#define HAVE_FSYNC
110#define HAVE_GETPWUID
111#define HAVE_GETPWNAM
Bram Moolenaar071d4272004-06-13 20:20:40 +0000112#define HAVE_STDLIB_H
113#define HAVE_STRING_H
114#define HAVE_ERRNO_H
115#define HAVE_OPENDIR
116#define HAVE_PUTENV
117#define HAVE_SETENV
118#define HAVE_SETJMP_H
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000119#define HAVE_MATH_H
120#define HAVE_FLOAT_FUNCS
Bram Moolenaar88c86eb2019-01-17 17:13:30 +0100121#define HAVE_GETTIMEOFDAY
122#define HAVE_PWD_H
123#define HAVE_NETDB_H
124#define HAVE_DIRENT_H
Bram Moolenaar071d4272004-06-13 20:20:40 +0000125
Bram Moolenaar071d4272004-06-13 20:20:40 +0000126#undef HAVE_SYS_NDIR_H
127#undef HAVE_SYS_DIR_H
128#undef HAVE_NDIR_H
129#undef HAVE_SYS_WAIT_H
130#undef HAVE_UNION_WAIT
131#undef HAVE_SYS_SELECT_H
132#undef HAVE_SYS_UTSNAME_H
133#undef HAVE_SYS_SYSTEMINFO_H
134#undef HAVE_TERMCAP_H
135#undef HAVE_SGTTY_H
136#undef HAVE_SYS_IOCTL_H
137#undef HAVE_TERMIO_H
138#undef HAVE_STROPTS_H
139#undef HAVE_SYS_STREAM_H
140#undef HAVE_SYS_PTEM_H
141#undef HAVE_TERMIOS_H
142#undef HAVE_LIBC_H
143#undef HAVE_SYS_STATFS_H
144#undef HAVE_SYS_POLL_H
Bram Moolenaar071d4272004-06-13 20:20:40 +0000145#undef HAVE_FCHDIR
Bram Moolenaarde5e2c22016-11-04 20:35:31 +0100146#undef HAVE_LSTAT
Bram Moolenaar071d4272004-06-13 20:20:40 +0000147
148/* Hardware specific */
149#ifdef VAX
150#undef HAVE_GETTIMEOFDAY
151#undef HAVE_USLEEP
152#undef HAVE_STRCASECMP
153#undef HAVE_STRINGS_H
Bram Moolenaarde5e2c22016-11-04 20:35:31 +0100154#undef HAVE_SIGSETJMP
155#undef HAVE_ISNAN
Bram Moolenaar88c86eb2019-01-17 17:13:30 +0100156#define HAVE_NO_LONG_LONG
157#define VIM_SIZEOF_LONG 4
158#else /* AXP and IA64 */
Bram Moolenaar071d4272004-06-13 20:20:40 +0000159#define HAVE_GETTIMEOFDAY
160#define HAVE_USLEEP
161#define HAVE_STRCASECMP
162#define HAVE_STRINGS_H
Bram Moolenaarde5e2c22016-11-04 20:35:31 +0100163#define HAVE_SIGSETJMP
164#define HAVE_ISNAN
Bram Moolenaar88c86eb2019-01-17 17:13:30 +0100165#define VIM_SIZEOF_LONG 8
Bram Moolenaar071d4272004-06-13 20:20:40 +0000166#endif
167
168/* Compiler specific */
169#ifdef VAXC
170#undef HAVE_SELECT
171#undef HAVE_FCNTL_H
172#undef HAVE_UNISTD_H
173#undef HAVE_SYS_TIME_H
174#undef HAVE_LOCALE_H
175#define BROKEN_LOCALE
Bram Moolenaar071d4272004-06-13 20:20:40 +0000176#undef DYNAMIC_ICONV
177#undef HAVE_STRFTIME
178#else
179#define HAVE_SELECT
180#define HAVE_FCNTL_H
181#define HAVE_UNISTD_H 1
182#define HAVE_SYS_TIME_H
183#define HAVE_LOCALE_H
184#define BROKEN_LOCALE
Bram Moolenaar071d4272004-06-13 20:20:40 +0000185#undef DYNAMIC_ICONV
186#define HAVE_STRFTIME
187#endif
188
Bram Moolenaar206f0112014-03-12 16:51:55 +0100189#if defined(USE_ICONV)
190#define HAVE_ICONV_H
191#define HAVE_ICONV
192#else
193#undef HAVE_ICONV_H
194#undef HAVE_ICONV
195#endif
196
Bram Moolenaar071d4272004-06-13 20:20:40 +0000197/* GUI support defines */
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000198#if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000199#define HAVE_X11
Bram Moolenaar88c86eb2019-01-17 17:13:30 +0100200#ifdef HAVE_XPM
201#define HAVE_X11_XPM_H
202#endif
Bram Moolenaar071d4272004-06-13 20:20:40 +0000203#define USE_FONTSET
204#undef X_LOCALE
205#endif