comparison src/os_vms_conf.h @ 18753:6e3dc2d630c2 v8.1.2366

patch 8.1.2366: using old C style comments Commit: https://github.com/vim/vim/commit/9bf703d46a79fbffeb829246ea5ce385bddc4166 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 19:44:38 2019 +0100 patch 8.1.2366: using old C style comments Problem: Using old C style comments. Solution: Use // comments where appropriate.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 19:45:03 +0100
parents 041156ce1d22
children bdda90ed5f6c
comparison
equal deleted inserted replaced
18752:9ec3c9cb4533 18753:6e3dc2d630c2
1 /* os_vms_conf.h. Replaces auto/config.h for VMS */ 1 /*
2 2 * os_vms_conf.h. Replaces auto/config.h for VMS
3 #define CASE_INSENSITIVE_FILENAME /* Open VMS is case insensitive */ 3 */
4 #define SPACE_IN_FILENAME /* There could be space between user and passwd */ 4
5 #define FNAME_ILLEGAL "|*#?%" /* Illegal characters in a file name */ 5 #define CASE_INSENSITIVE_FILENAME // Open VMS is case insensitive
6 #define BINARY_FILE_IO /* Use binary fileio */ 6 #define SPACE_IN_FILENAME // There could be space between user and passwd
7 #define FNAME_ILLEGAL "|*#?%" // Illegal characters in a file name
8 #define BINARY_FILE_IO // Use binary fileio
7 #define USE_GETCWD 9 #define USE_GETCWD
8 #define USE_SYSTEM 10 #define USE_SYSTEM
9 #define XPMATTRIBUTES_TYPE XpmAttributes 11 #define XPMATTRIBUTES_TYPE XpmAttributes
10 12
11 /* Define when terminfo support found */ 13 // Define when terminfo support found
12 #undef TERMINFO 14 #undef TERMINFO
13 15
14 /* Define when termcap.h contains ospeed */ 16 // Define when termcap.h contains ospeed
15 /* #define HAVE_OSPEED */ 17 // #define HAVE_OSPEED
16 18
17 /* Define when termcap.h contains UP, BC and PC */ 19 // Define when termcap.h contains UP, BC and PC
18 /* #define HAVE_UP_BC_PC */ 20 // #define HAVE_UP_BC_PC
19 21
20 /* Define when termcap.h defines outfuntype */ 22 // Define when termcap.h defines outfuntype
21 /*#define HAVE_OUTFUNTYPE */ 23 //#define HAVE_OUTFUNTYPE
22 24
23 /* Define when __DATE__ " " __TIME__ can be used */ 25 // Define when __DATE__ " " __TIME__ can be used
24 #define HAVE_DATE_TIME 26 #define HAVE_DATE_TIME
25 27
26 /* Defined to the size of an int */ 28 // Defined to the size of an int
27 #define VIM_SIZEOF_INT 4 29 #define VIM_SIZEOF_INT 4
28 30
29 /* #undef USEBCOPY */ 31 // #undef USEBCOPY
30 #define USEMEMMOVE 32 #define USEMEMMOVE
31 /* #undef USEMEMCPY */ 33 // #undef USEMEMCPY
32 34
33 /* Define when "man -s 2" is to be used */ 35 // Define when "man -s 2" is to be used
34 /* #undef USEMAN_S */ 36 // #undef USEMAN_S
35 37
36 /* Define to empty if the keyword does not work. */ 38 // Define to empty if the keyword does not work.
37 /* #undef const */ 39 // #undef const
38 40
39 /* Define to `int' if <sys/types.h> doesn't define. */ 41 // Define to `int' if <sys/types.h> doesn't define.
40 /* #undef mode_t */ 42 // #undef mode_t
41 43
42 /* Define to `long' if <sys/types.h> doesn't define. */ 44 // Define to `long' if <sys/types.h> doesn't define.
43 /* #undef off_t */ 45 // #undef off_t
44 46
45 /* Define to `long' if <sys/types.h> doesn't define. */ 47 // Define to `long' if <sys/types.h> doesn't define.
46 /* #undef pid_t */ 48 // #undef pid_t
47 49
48 /* Define to `unsigned' if <sys/types.h> doesn't define. */ 50 // Define to `unsigned' if <sys/types.h> doesn't define.
49 /* #undef size_t */ 51 // #undef size_t
50 52
51 /* Define to `int' if <sys/types.h> doesn't define. */ 53 // Define to `int' if <sys/types.h> doesn't define.
52 /* #undef uid_t */ 54 // #undef uid_t
53 55
54 /* Define to `unsigned int' or other type that is 32 bit. */ 56 // Define to `unsigned int' or other type that is 32 bit.
55 #define UINT32_T unsigned int 57 #define UINT32_T unsigned int
56 58
57 /* Define to `int' if <sys/types.h> doesn't define. */ 59 // Define to `int' if <sys/types.h> doesn't define.
58 /* #undef gid_t */ 60 // #undef gid_t
59 61
60 /* Define to `long' if <sys/types.h> doesn't define. */ 62 // Define to `long' if <sys/types.h> doesn't define.
61 /* #undef ino_t */ 63 // #undef ino_t
62 64
63 /* Define if you have the nanosleep() function. */ 65 // Define if you have the nanosleep() function.
64 /* #undef HAVE_NANOSLEEP */ 66 // #undef HAVE_NANOSLEEP
65 67
66 /* Define if you can safely include both <sys/time.h> and <time.h>. */ 68 // Define if you can safely include both <sys/time.h> and <time.h>.
67 #define TIME_WITH_SYS_TIME 69 #define TIME_WITH_SYS_TIME
68 70
69 /* Define if you can safely include both <sys/time.h> and <sys/select.h>. */ 71 // Define if you can safely include both <sys/time.h> and <sys/select.h>.
70 /* #undef SYS_SELECT_WITH_SYS_TIME */ 72 // #undef SYS_SELECT_WITH_SYS_TIME
71 73
72 /* Define as the return type of signal handlers (int or void). */ 74 // Define as the return type of signal handlers (int or void).
73 #define RETSIGTYPE void 75 #define RETSIGTYPE void
74 76
75 /* Define as the command at the end of signal handlers ("" or "return 0;"). */ 77 // Define as the command at the end of signal handlers ("" or "return 0;").
76 #define SIGRETURN return 78 #define SIGRETURN return
77 79
78 /* Define if struct sigcontext is present */ 80 // Define if struct sigcontext is present
79 #define HAVE_SIGCONTEXT 81 #define HAVE_SIGCONTEXT
80 82
81 /* Define if toupper/tolower only work on lower/uppercase characters */ 83 // Define if toupper/tolower only work on lower/uppercase characters
82 /* #define BROKEN_TOUPPER */ 84 // #define BROKEN_TOUPPER
83 85
84 /* Define if tgetstr() has a second argument that is (char *) */ 86 // Define if tgetstr() has a second argument that is (char *)
85 /* #undef TGETSTR_CHAR_P */ 87 // #undef TGETSTR_CHAR_P
86 88
87 /* Define if you have the sigset() function. */ 89 // Define if you have the sigset() function.
88 /* #undef HAVE_SIGSET */ 90 // #undef HAVE_SIGSET
89 91
90 /* Define if you have the setpgid() function. */ 92 // Define if you have the setpgid() function.
91 /* #undef HAVE_SETPGID */ 93 // #undef HAVE_SETPGID
92 94
93 /* Define if you have the setsid() function. */ 95 // Define if you have the setsid() function.
94 /* #undef HAVE_SETSID */ 96 // #undef HAVE_SETSID
95 97
96 /* Define if you have the sigset() function. */ 98 // Define if you have the sigset() function.
97 /* #undef HAVE_SIGSET */ 99 // #undef HAVE_SIGSET
98 100
99 #define TGETENT_ZERO_ERR 101 #define TGETENT_ZERO_ERR
100 #define HAVE_GETCWD 102 #define HAVE_GETCWD
101 #define HAVE_STRCSPN 103 #define HAVE_STRCSPN
102 #define HAVE_STRTOL 104 #define HAVE_STRTOL
143 #undef HAVE_SYS_STATFS_H 145 #undef HAVE_SYS_STATFS_H
144 #undef HAVE_SYS_POLL_H 146 #undef HAVE_SYS_POLL_H
145 #undef HAVE_FCHDIR 147 #undef HAVE_FCHDIR
146 #undef HAVE_LSTAT 148 #undef HAVE_LSTAT
147 149
148 /* Hardware specific */ 150 // Hardware specific
149 #ifdef VAX 151 #ifdef VAX
150 #undef HAVE_GETTIMEOFDAY 152 #undef HAVE_GETTIMEOFDAY
151 #undef HAVE_USLEEP 153 #undef HAVE_USLEEP
152 #undef HAVE_STRCASECMP 154 #undef HAVE_STRCASECMP
153 #undef HAVE_STRINGS_H 155 #undef HAVE_STRINGS_H
154 #undef HAVE_SIGSETJMP 156 #undef HAVE_SIGSETJMP
155 #undef HAVE_ISNAN 157 #undef HAVE_ISNAN
156 #define HAVE_NO_LONG_LONG 158 #define HAVE_NO_LONG_LONG
157 #define VIM_SIZEOF_LONG 4 159 #define VIM_SIZEOF_LONG 4
158 #else /* AXP and IA64 */ 160 #else // AXP and IA64
159 #define HAVE_GETTIMEOFDAY 161 #define HAVE_GETTIMEOFDAY
160 #define HAVE_USLEEP 162 #define HAVE_USLEEP
161 #define HAVE_STRCASECMP 163 #define HAVE_STRCASECMP
162 #define HAVE_STRINGS_H 164 #define HAVE_STRINGS_H
163 #define HAVE_SIGSETJMP 165 #define HAVE_SIGSETJMP
164 #define HAVE_ISNAN 166 #define HAVE_ISNAN
165 #define VIM_SIZEOF_LONG 8 167 #define VIM_SIZEOF_LONG 8
166 #endif 168 #endif
167 169
168 /* Compiler specific */ 170 // Compiler specific
169 #ifdef VAXC 171 #ifdef VAXC
170 #undef HAVE_SELECT 172 #undef HAVE_SELECT
171 #undef HAVE_FCNTL_H 173 #undef HAVE_FCNTL_H
172 #undef HAVE_UNISTD_H 174 #undef HAVE_UNISTD_H
173 #undef HAVE_SYS_TIME_H 175 #undef HAVE_SYS_TIME_H
192 #else 194 #else
193 #undef HAVE_ICONV_H 195 #undef HAVE_ICONV_H
194 #undef HAVE_ICONV 196 #undef HAVE_ICONV
195 #endif 197 #endif
196 198
197 /* GUI support defines */ 199 // GUI support defines
198 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) 200 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK)
199 #define HAVE_X11 201 #define HAVE_X11
200 #ifdef HAVE_XPM 202 #ifdef HAVE_XPM
201 #define HAVE_X11_XPM_H 203 #define HAVE_X11_XPM_H
202 #endif 204 #endif