annotate src/os_vms_conf.h @ 35080:fcc356d45610 default tip

Added tag v9.1.0381 for changeset 40c314f639cf1a3d7988a689edb1f3152dc55ff4
author Christian Brabandt <cb@256bit.org>
date Mon, 29 Apr 2024 20:45:04 +0200
parents 6d9e20b403e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 #define USE_GETCWD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 #undef TERMINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 #define HAVE_DATE_TIME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 #define HAVE_SIGCONTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 #define TGETENT_ZERO_ERR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 #define HAVE_GETCWD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 #define HAVE_STRCSPN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 #define HAVE_STRTOL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 #define HAVE_TGETENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 #define HAVE_MEMSET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 #define HAVE_STRERROR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 #define HAVE_FCHOWN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 #define HAVE_RENAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 #define HAVE_QSORT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 #define HAVE_FSYNC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 #define HAVE_GETPWUID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 #define HAVE_GETPWNAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 #define HAVE_STDLIB_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 #define HAVE_STRING_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 #define HAVE_ERRNO_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 #define HAVE_OPENDIR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 #define HAVE_PUTENV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 #define HAVE_SETENV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 #define HAVE_SETJMP_H
1709
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 1200
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 #undef HAVE_SYS_NDIR_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 #undef HAVE_SYS_DIR_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 #undef HAVE_NDIR_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 #undef HAVE_SYS_WAIT_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 #undef HAVE_UNION_WAIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 #undef HAVE_SYS_SELECT_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 #undef HAVE_SYS_UTSNAME_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 #undef HAVE_SYS_SYSTEMINFO_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 #undef HAVE_TERMCAP_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 #undef HAVE_SGTTY_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 #undef HAVE_SYS_IOCTL_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 #undef HAVE_TERMIO_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 #undef HAVE_STROPTS_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 #undef HAVE_SYS_STREAM_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 #undef HAVE_SYS_PTEM_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 #undef HAVE_TERMIOS_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 #undef HAVE_LIBC_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 #undef HAVE_SYS_STATFS_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 #undef HAVE_SYS_POLL_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 #undef HAVE_GETTIMEOFDAY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 #undef HAVE_USLEEP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 #undef HAVE_STRCASECMP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 #define HAVE_GETTIMEOFDAY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 #define HAVE_USLEEP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 #define HAVE_STRCASECMP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 #undef HAVE_SELECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 #undef HAVE_FCNTL_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 #undef HAVE_UNISTD_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 #undef HAVE_SYS_TIME_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 #undef HAVE_LOCALE_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 #define BROKEN_LOCALE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 #undef DYNAMIC_ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 #define HAVE_SELECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 #define HAVE_FCNTL_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 #define HAVE_UNISTD_H 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 #define HAVE_SYS_TIME_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 #define HAVE_LOCALE_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 #define BROKEN_LOCALE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 #undef DYNAMIC_ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 #define HAVE_STRFTIME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
5704
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
211 #if defined(USE_ICONV)
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
212 #define HAVE_ICONV_H
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
213 #define HAVE_ICONV
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
214 #else
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
215 #undef HAVE_ICONV_H
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
216 #undef HAVE_ICONV
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
217 #endif
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents: 5684
diff changeset
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
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 682
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 #define USE_FONTSET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 #undef X_LOCALE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 #endif