blob: 9aa7526e7e51ec8bbf4161cc2ba994910fb49a19 [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
9
10/* Define when terminfo support found */
11#undef TERMINFO
12
13/* Define when termcap.h contains ospeed */
14/* #define HAVE_OSPEED */
15
16/* Define when termcap.h contains UP, BC and PC */
17/* #define HAVE_UP_BC_PC */
18
19/* Define when termcap.h defines outfuntype */
20/*#define HAVE_OUTFUNTYPE */
21
22/* Define when __DATE__ " " __TIME__ can be used */
23#define HAVE_DATE_TIME
24
25/* Defined to the size of an int */
Bram Moolenaara2aa31a2014-02-23 22:52:40 +010026#define VIM_SIZEOF_INT 4
Bram Moolenaar071d4272004-06-13 20:20:40 +000027
28/* #undef USEBCOPY */
29#define USEMEMMOVE
30/* #undef USEMEMCPY */
31
32/* Define when "man -s 2" is to be used */
33/* #undef USEMAN_S */
34
35/* Define to empty if the keyword does not work. */
36/* #undef const */
37
38/* Define to `int' if <sys/types.h> doesn't define. */
39/* #undef mode_t */
40
41/* Define to `long' if <sys/types.h> doesn't define. */
42/* #undef off_t */
43
44/* Define to `long' if <sys/types.h> doesn't define. */
45/* #undef pid_t */
46
47/* Define to `unsigned' if <sys/types.h> doesn't define. */
48/* #undef size_t */
49
50/* Define to `int' if <sys/types.h> doesn't define. */
51/* #undef uid_t */
52
Bram Moolenaar8e469272010-07-28 19:38:16 +020053/* Define to `unsigned int' or other type that is 32 bit. */
54#define UINT32_T unsigned int
55
Bram Moolenaar071d4272004-06-13 20:20:40 +000056/* Define to `int' if <sys/types.h> doesn't define. */
57/* #undef gid_t */
58
59/* Define to `long' if <sys/types.h> doesn't define. */
60/* #undef ino_t */
61
62/* Define if you have the nanosleep() function. */
63/* #undef HAVE_NANOSLEEP */
64
65/* Define if you can safely include both <sys/time.h> and <time.h>. */
66#define TIME_WITH_SYS_TIME
67
68/* Define if you can safely include both <sys/time.h> and <sys/select.h>. */
69/* #undef SYS_SELECT_WITH_SYS_TIME */
70
71/* Define as the return type of signal handlers (int or void). */
72#define RETSIGTYPE void
73
74/* Define as the command at the end of signal handlers ("" or "return 0;"). */
75#define SIGRETURN return
76
77/* Define if struct sigcontext is present */
78#define HAVE_SIGCONTEXT
79
Bram Moolenaar2bb8df22007-05-10 17:26:28 +000080/* Define if toupper/tolower only work on lower/uppercase characters */
Bram Moolenaar071d4272004-06-13 20:20:40 +000081/* #define BROKEN_TOUPPER */
82
83/* Define if tgetstr() has a second argument that is (char *) */
84/* #undef TGETSTR_CHAR_P */
85
86/* Define if you have the sigset() function. */
87/* #undef HAVE_SIGSET */
88
89/* Define if you have the setpgid() function. */
90/* #undef HAVE_SETPGID */
91
92/* Define if you have the setsid() function. */
93/* #undef HAVE_SETSID */
94
95/* Define if you have the sigset() function. */
96/* #undef HAVE_SIGSET */
97
98#define TGETENT_ZERO_ERR
99#define HAVE_GETCWD
100#define HAVE_STRCSPN
101#define HAVE_STRTOL
102#define HAVE_TGETENT
103#define HAVE_MEMSET
Bram Moolenaar071d4272004-06-13 20:20:40 +0000104#define HAVE_STRERROR
105#define HAVE_FCHOWN
106#define HAVE_RENAME
107#define HAVE_QSORT
108#define HAVE_FSYNC
109#define HAVE_GETPWUID
110#define HAVE_GETPWNAM
Bram Moolenaar071d4272004-06-13 20:20:40 +0000111#define HAVE_STDLIB_H
112#define HAVE_STRING_H
113#define HAVE_ERRNO_H
114#define HAVE_OPENDIR
115#define HAVE_PUTENV
116#define HAVE_SETENV
117#define HAVE_SETJMP_H
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000118#define HAVE_MATH_H
119#define HAVE_FLOAT_FUNCS
Bram Moolenaar071d4272004-06-13 20:20:40 +0000120
121#undef HAVE_DIRENT_H
122#undef HAVE_SYS_NDIR_H
123#undef HAVE_SYS_DIR_H
124#undef HAVE_NDIR_H
125#undef HAVE_SYS_WAIT_H
126#undef HAVE_UNION_WAIT
127#undef HAVE_SYS_SELECT_H
128#undef HAVE_SYS_UTSNAME_H
129#undef HAVE_SYS_SYSTEMINFO_H
130#undef HAVE_TERMCAP_H
131#undef HAVE_SGTTY_H
132#undef HAVE_SYS_IOCTL_H
133#undef HAVE_TERMIO_H
134#undef HAVE_STROPTS_H
135#undef HAVE_SYS_STREAM_H
136#undef HAVE_SYS_PTEM_H
137#undef HAVE_TERMIOS_H
138#undef HAVE_LIBC_H
139#undef HAVE_SYS_STATFS_H
140#undef HAVE_SYS_POLL_H
141#undef HAVE_PWD_H
142#undef HAVE_FCHDIR
Bram Moolenaarde5e2c22016-11-04 20:35:31 +0100143#undef HAVE_LSTAT
Bram Moolenaar071d4272004-06-13 20:20:40 +0000144
145/* Hardware specific */
146#ifdef VAX
147#undef HAVE_GETTIMEOFDAY
148#undef HAVE_USLEEP
149#undef HAVE_STRCASECMP
150#undef HAVE_STRINGS_H
Bram Moolenaarde5e2c22016-11-04 20:35:31 +0100151#undef HAVE_SIGSETJMP
152#undef HAVE_ISNAN
Bram Moolenaar071d4272004-06-13 20:20:40 +0000153#else
154#define HAVE_GETTIMEOFDAY
155#define HAVE_USLEEP
156#define HAVE_STRCASECMP
157#define HAVE_STRINGS_H
Bram Moolenaarde5e2c22016-11-04 20:35:31 +0100158#define HAVE_SIGSETJMP
159#define HAVE_ISNAN
Bram Moolenaar071d4272004-06-13 20:20:40 +0000160#endif
161
162/* Compiler specific */
163#ifdef VAXC
164#undef HAVE_SELECT
165#undef HAVE_FCNTL_H
166#undef HAVE_UNISTD_H
167#undef HAVE_SYS_TIME_H
168#undef HAVE_LOCALE_H
169#define BROKEN_LOCALE
Bram Moolenaar071d4272004-06-13 20:20:40 +0000170#undef DYNAMIC_ICONV
171#undef HAVE_STRFTIME
172#else
173#define HAVE_SELECT
174#define HAVE_FCNTL_H
175#define HAVE_UNISTD_H 1
176#define HAVE_SYS_TIME_H
177#define HAVE_LOCALE_H
178#define BROKEN_LOCALE
Bram Moolenaar071d4272004-06-13 20:20:40 +0000179#undef DYNAMIC_ICONV
180#define HAVE_STRFTIME
181#endif
182
Bram Moolenaar206f0112014-03-12 16:51:55 +0100183#if defined(USE_ICONV)
184#define HAVE_ICONV_H
185#define HAVE_ICONV
186#else
187#undef HAVE_ICONV_H
188#undef HAVE_ICONV
189#endif
190
Bram Moolenaar071d4272004-06-13 20:20:40 +0000191/* GUI support defines */
Bram Moolenaar910f66f2006-04-05 20:41:53 +0000192#if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000193#define HAVE_X11
194#define USE_FONTSET
195#undef X_LOCALE
196#endif