Mercurial > vim
comparison src/os_vms_conf.h @ 23408:bdda90ed5f6c v8.2.2247
patch 8.2.2247: VMS: various smaller problems
Commit: https://github.com/vim/vim/commit/467676d468cb10db78d79d5bd2139ded9f70d26f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 30 13:14:45 2020 +0100
patch 8.2.2247: VMS: various smaller problems
Problem: VMS: various smaller problems.
Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Dec 2020 13:15:05 +0100 |
parents | 6e3dc2d630c2 |
children | 49d866e9b439 |
comparison
equal
deleted
inserted
replaced
23407:675b60086d83 | 23408:bdda90ed5f6c |
---|---|
144 #undef HAVE_LIBC_H | 144 #undef HAVE_LIBC_H |
145 #undef HAVE_SYS_STATFS_H | 145 #undef HAVE_SYS_STATFS_H |
146 #undef HAVE_SYS_POLL_H | 146 #undef HAVE_SYS_POLL_H |
147 #undef HAVE_FCHDIR | 147 #undef HAVE_FCHDIR |
148 #undef HAVE_LSTAT | 148 #undef HAVE_LSTAT |
149 #undef HAVE_STDINT_H | |
150 #undef HAVE_XOS_R_H | |
149 | 151 |
150 // Hardware specific | 152 // Hardware specific |
151 #ifdef VAX | 153 #ifdef VAX |
152 #undef HAVE_GETTIMEOFDAY | 154 #undef HAVE_GETTIMEOFDAY |
153 #undef HAVE_USLEEP | 155 #undef HAVE_USLEEP |
155 #undef HAVE_STRINGS_H | 157 #undef HAVE_STRINGS_H |
156 #undef HAVE_SIGSETJMP | 158 #undef HAVE_SIGSETJMP |
157 #undef HAVE_ISNAN | 159 #undef HAVE_ISNAN |
158 #define HAVE_NO_LONG_LONG | 160 #define HAVE_NO_LONG_LONG |
159 #define VIM_SIZEOF_LONG 4 | 161 #define VIM_SIZEOF_LONG 4 |
162 #define LONG_LONG_MIN (-2147483647-1) | |
163 #define LONG_LONG_MAX (2147483647) | |
164 #define ULONG_LONG_MAX (4294967295U) | |
165 #undef XTHREADS | |
160 #else // AXP and IA64 | 166 #else // AXP and IA64 |
161 #define HAVE_GETTIMEOFDAY | 167 #define HAVE_GETTIMEOFDAY |
162 #define HAVE_USLEEP | 168 #define HAVE_USLEEP |
163 #define HAVE_STRCASECMP | 169 #define HAVE_STRCASECMP |
164 #define HAVE_STRINGS_H | 170 #define HAVE_STRINGS_H |
165 #define HAVE_SIGSETJMP | 171 #define HAVE_SIGSETJMP |
166 #define HAVE_ISNAN | 172 #define HAVE_ISNAN |
173 #define HAVE_NO_LONG_LONG | |
167 #define VIM_SIZEOF_LONG 8 | 174 #define VIM_SIZEOF_LONG 8 |
175 #define LONG_LONG_MIN (-9223372036854775807-1) | |
176 #define LONG_LONG_MAX (9223372036854775807) | |
177 #define ULONG_LONG_MAX (18446744073709551615U) | |
178 #define XTHREADS | |
168 #endif | 179 #endif |
169 | 180 |
170 // Compiler specific | 181 // Compiler specific |
171 #ifdef VAXC | 182 #ifdef VAXC |
172 #undef HAVE_SELECT | 183 #undef HAVE_SELECT |
175 #undef HAVE_SYS_TIME_H | 186 #undef HAVE_SYS_TIME_H |
176 #undef HAVE_LOCALE_H | 187 #undef HAVE_LOCALE_H |
177 #define BROKEN_LOCALE | 188 #define BROKEN_LOCALE |
178 #undef DYNAMIC_ICONV | 189 #undef DYNAMIC_ICONV |
179 #undef HAVE_STRFTIME | 190 #undef HAVE_STRFTIME |
180 #else | 191 #else // DECC |
181 #define HAVE_SELECT | 192 #define HAVE_SELECT |
182 #define HAVE_FCNTL_H | 193 #define HAVE_FCNTL_H |
183 #define HAVE_UNISTD_H 1 | 194 #define HAVE_UNISTD_H 1 |
184 #define HAVE_SYS_TIME_H | 195 #define HAVE_SYS_TIME_H |
185 #define HAVE_LOCALE_H | 196 #define HAVE_LOCALE_H |
196 #undef HAVE_ICONV | 207 #undef HAVE_ICONV |
197 #endif | 208 #endif |
198 | 209 |
199 // GUI support defines | 210 // GUI support defines |
200 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) | 211 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) |
212 #define X_INCLUDE_GRP_H // To use getgrgid | |
213 #define XUSE_MTSAFE_API | |
201 #define HAVE_X11 | 214 #define HAVE_X11 |
215 #define WANT_X11 | |
202 #ifdef HAVE_XPM | 216 #ifdef HAVE_XPM |
203 #define HAVE_X11_XPM_H | 217 #define HAVE_X11_XPM_H |
204 #endif | 218 #endif |
205 #define USE_FONTSET | 219 #define USE_FONTSET |
206 #undef X_LOCALE | 220 #undef X_LOCALE |