Mercurial > vim
annotate src/os_vms_conf.h @ 9380:a419e980f5b7
Added tag v7.4.1971 for changeset b398e4e127516a6949afa39751c4749c878c99df
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Jul 2016 15:00:06 +0200 |
parents | cfed0e9f0ca2 |
children | 299f1669c20e |
rev | line source |
---|---|
7 | 1 /* 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 */ | |
5684 | 26 #define VIM_SIZEOF_INT 4 |
7 | 27 |
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 | |
2428
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
53 /* Define to `unsigned int' or other type that is 32 bit. */ |
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
54 #define UINT32_T unsigned int |
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
55 |
7 | 56 /* 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 | |
1200 | 80 /* Define if toupper/tolower only work on lower/uppercase characters */ |
7 | 81 /* #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 | |
104 #define HAVE_MEMCMP | |
105 #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 | |
112 #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 | |
1709 | 119 #define HAVE_MATH_H |
120 #define HAVE_FLOAT_FUNCS | |
7 | 121 |
122 #undef HAVE_DIRENT_H | |
123 #undef HAVE_SYS_NDIR_H | |
124 #undef HAVE_SYS_DIR_H | |
125 #undef HAVE_NDIR_H | |
126 #undef HAVE_SYS_WAIT_H | |
127 #undef HAVE_UNION_WAIT | |
128 #undef HAVE_SYS_SELECT_H | |
129 #undef HAVE_SYS_UTSNAME_H | |
130 #undef HAVE_SYS_SYSTEMINFO_H | |
131 #undef HAVE_TERMCAP_H | |
132 #undef HAVE_SGTTY_H | |
133 #undef HAVE_SYS_IOCTL_H | |
134 #undef HAVE_TERMIO_H | |
135 #undef HAVE_STROPTS_H | |
136 #undef HAVE_SYS_STREAM_H | |
137 #undef HAVE_SYS_PTEM_H | |
138 #undef HAVE_TERMIOS_H | |
139 #undef HAVE_LIBC_H | |
140 #undef HAVE_SYS_STATFS_H | |
141 #undef HAVE_SYS_POLL_H | |
142 #undef HAVE_PWD_H | |
143 #undef HAVE_FCHDIR | |
144 | |
145 /* Hardware specific */ | |
146 #ifdef VAX | |
147 #undef HAVE_GETTIMEOFDAY | |
148 #undef HAVE_USLEEP | |
149 #undef HAVE_STRCASECMP | |
150 #undef HAVE_STRINGS_H | |
151 #undef HAVE_SIGSETJMP | |
152 #else | |
153 #define HAVE_GETTIMEOFDAY | |
154 #define HAVE_USLEEP | |
155 #define HAVE_STRCASECMP | |
156 #define HAVE_STRINGS_H | |
157 #define HAVE_SIGSETJMP | |
158 #endif | |
159 | |
160 /* Compiler specific */ | |
161 #ifdef VAXC | |
162 #undef HAVE_SELECT | |
163 #undef HAVE_FCNTL_H | |
164 #undef HAVE_UNISTD_H | |
165 #undef HAVE_SYS_TIME_H | |
166 #undef HAVE_LOCALE_H | |
167 #define BROKEN_LOCALE | |
168 #undef DYNAMIC_ICONV | |
169 #undef HAVE_STRFTIME | |
170 #else | |
171 #define HAVE_SELECT | |
172 #define HAVE_FCNTL_H | |
173 #define HAVE_UNISTD_H 1 | |
174 #define HAVE_SYS_TIME_H | |
175 #define HAVE_LOCALE_H | |
176 #define BROKEN_LOCALE | |
177 #undef DYNAMIC_ICONV | |
178 #define HAVE_STRFTIME | |
179 #endif | |
180 | |
5704 | 181 #if defined(USE_ICONV) |
182 #define HAVE_ICONV_H | |
183 #define HAVE_ICONV | |
184 #else | |
185 #undef HAVE_ICONV_H | |
186 #undef HAVE_ICONV | |
187 #endif | |
188 | |
7 | 189 /* GUI support defines */ |
819 | 190 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) |
7 | 191 #define HAVE_X11 |
192 #define USE_FONTSET | |
193 #undef X_LOCALE | |
194 #endif |