Mercurial > vim
annotate src/os_vms_conf.h @ 34645:172f30203d25 v9.1.0207
patch 9.1.0207: No autocommand when writing session file
Commit: https://github.com/vim/vim/commit/e5f2280381250801a28dcff9823e6f94e7b163fc
Author: Colin Kennedy <colinvfx@gmail.com>
Date: Tue Mar 26 18:20:16 2024 +0100
patch 9.1.0207: No autocommand when writing session file
Problem: No autocommand when writing session file
Solution: Add SessionWritePost autocommand
(Colin Kennedy)
fixes: ##14242
closes: #14288
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Colin Kennedy <colinvfx@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 26 Mar 2024 18:30:03 +0100 |
parents | 6d9e20b403e8 |
children |
rev | line source |
---|---|
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
1 /* |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
2 * os_vms_conf.h. Replaces auto/config.h for VMS |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
3 * |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
4 */ |
7 | 5 |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
6 #if defined(__VMS) || defined(__vms) |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
7 #if !defined(VMS) |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
8 #define VMS |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
9 #endif |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
10 #endif |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
11 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
12 #define CASE_INSENSITIVE_FILENAME // Open VMS is case insensitive |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
13 #define SPACE_IN_FILENAME // There could be space between user and passwd |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
14 #define FNAME_ILLEGAL "|*#?%" // Illegal characters in a file name |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
15 #define BINARY_FILE_IO // Use binary fileio |
7 | 16 #define USE_GETCWD |
17 #define USE_SYSTEM | |
15517
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
18 #define XPMATTRIBUTES_TYPE XpmAttributes |
7 | 19 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
20 // Define when terminfo support found |
7 | 21 #undef TERMINFO |
22 | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
23 // Define when termcap.h contains ospeed |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
24 // #define HAVE_OSPEED |
7 | 25 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
26 // Define when termcap.h contains UP, BC and PC |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
27 // #define HAVE_UP_BC_PC |
7 | 28 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
29 // Define when termcap.h defines outfuntype |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
30 //#define HAVE_OUTFUNTYPE |
7 | 31 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
32 // Define when __DATE__ " " __TIME__ can be used |
7 | 33 #define HAVE_DATE_TIME |
34 | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
35 // #undef USEBCOPY |
7 | 36 #define USEMEMMOVE |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
37 // #undef USEMEMCPY |
7 | 38 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
39 // Define when "man -s 2" is to be used |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
40 // #undef USEMAN_S |
7 | 41 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
42 // Define to empty if the keyword does not work. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
43 // #undef const |
7 | 44 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
45 // Define to `int' if <sys/types.h> doesn't define. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
46 // #undef mode_t |
7 | 47 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
48 // Define to `long' if <sys/types.h> doesn't define. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
49 // #undef off_t |
7 | 50 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
51 // Define to `long' if <sys/types.h> doesn't define. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
52 // #undef pid_t |
7 | 53 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
54 // Define to `unsigned' if <sys/types.h> doesn't define. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
55 // #undef size_t |
7 | 56 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
57 // Define to `int' if <sys/types.h> doesn't define. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
58 // #undef uid_t |
7 | 59 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
60 // Define to `unsigned int' or other type that is 32 bit. |
2428
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
61 #define UINT32_T unsigned int |
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
62 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
63 // Define to `int' if <sys/types.h> doesn't define. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
64 // #undef gid_t |
7 | 65 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
66 // Define to `long' if <sys/types.h> doesn't define. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
67 // #undef ino_t |
7 | 68 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
69 // Define if you have the nanosleep() function. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
70 // #undef HAVE_NANOSLEEP |
7 | 71 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
72 // Define if you can safely include both <sys/time.h> and <sys/select.h>. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
73 // #undef SYS_SELECT_WITH_SYS_TIME |
7 | 74 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
75 // Define if struct sigcontext is present |
7 | 76 #define HAVE_SIGCONTEXT |
77 | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
78 // Define if toupper/tolower only work on lower/uppercase characters |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
79 // #define BROKEN_TOUPPER |
7 | 80 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
81 // Define if tgetstr() has a second argument that is (char *) |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
82 // #undef TGETSTR_CHAR_P |
7 | 83 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
84 // Define if you have the sigset() function. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
85 // #undef HAVE_SIGSET |
7 | 86 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
87 // Define if you have the setpgid() function. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
88 // #undef HAVE_SETPGID |
7 | 89 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
90 // Define if you have the setsid() function. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
91 // #undef HAVE_SETSID |
7 | 92 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
93 // Define if you have the sigset() function. |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
94 // #undef HAVE_SIGSET |
7 | 95 |
96 #define TGETENT_ZERO_ERR | |
97 #define HAVE_GETCWD | |
98 #define HAVE_STRCSPN | |
99 #define HAVE_STRTOL | |
100 #define HAVE_TGETENT | |
101 #define HAVE_MEMSET | |
102 #define HAVE_STRERROR | |
103 #define HAVE_FCHOWN | |
104 #define HAVE_RENAME | |
105 #define HAVE_QSORT | |
106 #define HAVE_FSYNC | |
107 #define HAVE_GETPWUID | |
108 #define HAVE_GETPWNAM | |
109 #define HAVE_STDLIB_H | |
110 #define HAVE_STRING_H | |
111 #define HAVE_ERRNO_H | |
112 #define HAVE_OPENDIR | |
113 #define HAVE_PUTENV | |
114 #define HAVE_SETENV | |
115 #define HAVE_SETJMP_H | |
1709 | 116 #define HAVE_MATH_H |
15517
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
117 #define HAVE_GETTIMEOFDAY |
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
118 #define HAVE_PWD_H |
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
119 #define HAVE_NETDB_H |
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
120 #define HAVE_DIRENT_H |
7 | 121 |
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_FCHDIR | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
142 #undef HAVE_LSTAT |
23408
bdda90ed5f6c
patch 8.2.2247: VMS: various smaller problems
Bram Moolenaar <Bram@vim.org>
parents:
18753
diff
changeset
|
143 #undef HAVE_STDINT_H |
7 | 144 |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
145 // Default features |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
146 #define FEAT_IPV6 |
34072
6d9e20b403e8
patch 9.1.0005: OpenVMS does not support python3 and xterm_save
Christian Brabandt <cb@256bit.org>
parents:
33888
diff
changeset
|
147 #define FEAT_XTERM_SAVE |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
148 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
149 // Hardware specific |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
150 #if defined(__VAX) || defined(VAX) |
7 | 151 #undef HAVE_GETTIMEOFDAY |
152 #undef HAVE_USLEEP | |
153 #undef HAVE_STRCASECMP | |
154 #undef HAVE_STRINGS_H | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
155 #undef HAVE_SIGSETJMP |
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
156 #undef HAVE_ISNAN |
23503
49d866e9b439
patch 8.2.2294: VMS: a few remaining problems
Bram Moolenaar <Bram@vim.org>
parents:
23408
diff
changeset
|
157 #undef HAVE_XOS_R_H |
15517
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
158 #define HAVE_NO_LONG_LONG |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
159 #define VIM_SIZEOF_INT 4 |
15517
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
160 #define VIM_SIZEOF_LONG 4 |
23503
49d866e9b439
patch 8.2.2294: VMS: a few remaining problems
Bram Moolenaar <Bram@vim.org>
parents:
23408
diff
changeset
|
161 #define LONG_LONG_MIN (-2147483647-1) |
49d866e9b439
patch 8.2.2294: VMS: a few remaining problems
Bram Moolenaar <Bram@vim.org>
parents:
23408
diff
changeset
|
162 #define LONG_LONG_MAX (2147483647) |
23408
bdda90ed5f6c
patch 8.2.2247: VMS: various smaller problems
Bram Moolenaar <Bram@vim.org>
parents:
18753
diff
changeset
|
163 #define ULONG_LONG_MAX (4294967295U) |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
164 |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
165 #else // ALPHA, IA64, X86_64 |
7 | 166 #define HAVE_GETTIMEOFDAY |
167 #define HAVE_USLEEP | |
168 #define HAVE_STRCASECMP | |
169 #define HAVE_STRINGS_H | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
170 #define HAVE_SIGSETJMP |
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
171 #define HAVE_ISNAN |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
172 #undef HAVE_XOS_R_H |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
173 #undef HAVE_NO_LONG_LONG |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
174 #define VIM_SIZEOF_INT 4 |
15517
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
175 #define VIM_SIZEOF_LONG 8 |
23503
49d866e9b439
patch 8.2.2294: VMS: a few remaining problems
Bram Moolenaar <Bram@vim.org>
parents:
23408
diff
changeset
|
176 #define LONG_LONG_MIN (-9223372036854775807-1) |
49d866e9b439
patch 8.2.2294: VMS: a few remaining problems
Bram Moolenaar <Bram@vim.org>
parents:
23408
diff
changeset
|
177 #define LONG_LONG_MAX (9223372036854775807) |
23408
bdda90ed5f6c
patch 8.2.2247: VMS: various smaller problems
Bram Moolenaar <Bram@vim.org>
parents:
18753
diff
changeset
|
178 #define ULONG_LONG_MAX (18446744073709551615U) |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
179 |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
180 #if defined(__x86_64) || defined(__x86_64__) |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
181 #if !defined(X86_64) |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
182 #define X86_64 |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
183 #endif |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
184 #define HAVE_ISNAN |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
185 #define HAVE_ISINF |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
186 #define HAVE_XOS_R_H |
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
187 #endif |
7 | 188 #endif |
189 | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
190 // Compiler specific |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
191 #if defined(VAXC) || defined(__VAXC) |
7 | 192 #undef HAVE_SELECT |
193 #undef HAVE_FCNTL_H | |
194 #undef HAVE_UNISTD_H | |
195 #undef HAVE_SYS_TIME_H | |
196 #undef HAVE_LOCALE_H | |
197 #define BROKEN_LOCALE | |
198 #undef DYNAMIC_ICONV | |
199 #undef HAVE_STRFTIME | |
23408
bdda90ed5f6c
patch 8.2.2247: VMS: various smaller problems
Bram Moolenaar <Bram@vim.org>
parents:
18753
diff
changeset
|
200 #else // DECC |
7 | 201 #define HAVE_SELECT |
202 #define HAVE_FCNTL_H | |
203 #define HAVE_UNISTD_H 1 | |
204 #define HAVE_SYS_TIME_H | |
205 #define HAVE_LOCALE_H | |
206 #define BROKEN_LOCALE | |
207 #undef DYNAMIC_ICONV | |
208 #define HAVE_STRFTIME | |
209 #endif | |
210 | |
5704 | 211 #if defined(USE_ICONV) |
212 #define HAVE_ICONV_H | |
213 #define HAVE_ICONV | |
214 #else | |
215 #undef HAVE_ICONV_H | |
216 #undef HAVE_ICONV | |
217 #endif | |
218 | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
17262
diff
changeset
|
219 // GUI support defines |
819 | 220 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) |
28844
c0403cd5ca06
patch 8.2.4945: inconsistent use of white space
Bram Moolenaar <Bram@vim.org>
parents:
23503
diff
changeset
|
221 #define X_INCLUDE_GRP_H // To use getgrgid |
23408
bdda90ed5f6c
patch 8.2.2247: VMS: various smaller problems
Bram Moolenaar <Bram@vim.org>
parents:
18753
diff
changeset
|
222 #define XUSE_MTSAFE_API |
7 | 223 #define HAVE_X11 |
23408
bdda90ed5f6c
patch 8.2.2247: VMS: various smaller problems
Bram Moolenaar <Bram@vim.org>
parents:
18753
diff
changeset
|
224 #define WANT_X11 |
33888
cb88e5c589d0
patch 9.0.2153: no support to build on OpenVMS
Christian Brabandt <cb@256bit.org>
parents:
30310
diff
changeset
|
225 #ifdef HAVE_XPM |
15517
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
226 #define HAVE_X11_XPM_H |
2ad5f0ffaa2e
patch 8.1.0766: various problems when using Vim on VMS
Bram Moolenaar <Bram@vim.org>
parents:
10430
diff
changeset
|
227 #endif |
7 | 228 #define USE_FONTSET |
229 #undef X_LOCALE | |
230 #endif |