1 /* 2 * os_vms_conf.h. Replaces auto/config.h for VMS 3 */ 4 5 #define CASE_INSENSITIVE_FILENAME // Open VMS is case insensitive 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 9 #define USE_GETCWD 10 #define USE_SYSTEM 11 #define XPMATTRIBUTES_TYPE XpmAttributes 12 13 // Define when terminfo support found 14 #undef TERMINFO 15 16 // Define when termcap.h contains ospeed 17 // #define HAVE_OSPEED 18 19 // Define when termcap.h contains UP, BC and PC 20 // #define HAVE_UP_BC_PC 21 22 // Define when termcap.h defines outfuntype 23 //#define HAVE_OUTFUNTYPE 24 25 // Define when __DATE__ " " __TIME__ can be used 26 #define HAVE_DATE_TIME 27 28 // Defined to the size of an int 29 #define VIM_SIZEOF_INT 4 30 31 // #undef USEBCOPY 32 #define USEMEMMOVE 33 // #undef USEMEMCPY 34 35 // Define when "man -s 2" is to be used 36 // #undef USEMAN_S 37 38 // Define to empty if the keyword does not work. 39 // #undef const 40 41 // Define to `int' if <sys/types.h> doesn't define. 42 // #undef mode_t 43 44 // Define to `long' if <sys/types.h> doesn't define. 45 // #undef off_t 46 47 // Define to `long' if <sys/types.h> doesn't define. 48 // #undef pid_t 49 50 // Define to `unsigned' if <sys/types.h> doesn't define. 51 // #undef size_t 52 53 // Define to `int' if <sys/types.h> doesn't define. 54 // #undef uid_t 55 56 // Define to `unsigned int' or other type that is 32 bit. 57 #define UINT32_T unsigned int 58 59 // Define to `int' if <sys/types.h> doesn't define. 60 // #undef gid_t 61 62 // Define to `long' if <sys/types.h> doesn't define. 63 // #undef ino_t 64 65 // Define if you have the nanosleep() function. 66 // #undef HAVE_NANOSLEEP 67 68 // Define if you can safely include both <sys/time.h> and <time.h>. 69 #define TIME_WITH_SYS_TIME 70 71 // Define if you can safely include both <sys/time.h> and <sys/select.h>. 72 // #undef SYS_SELECT_WITH_SYS_TIME 73 74 // Define as the return type of signal handlers (int or void). 75 #define RETSIGTYPE void 76 77 // Define as the command at the end of signal handlers ("" or "return 0;"). 78 #define SIGRETURN return 79 80 // Define if struct sigcontext is present 81 #define HAVE_SIGCONTEXT 82 83 // Define if toupper/tolower only work on lower/uppercase characters 84 // #define BROKEN_TOUPPER 85 86 // Define if tgetstr() has a second argument that is (char *) 87 // #undef TGETSTR_CHAR_P 88 89 // Define if you have the sigset() function. 90 // #undef HAVE_SIGSET 91 92 // Define if you have the setpgid() function. 93 // #undef HAVE_SETPGID 94 95 // Define if you have the setsid() function. 96 // #undef HAVE_SETSID 97 98 // Define if you have the sigset() function. 99 // #undef HAVE_SIGSET 100 101 #define TGETENT_ZERO_ERR 102 #define HAVE_GETCWD 103 #define HAVE_STRCSPN 104 #define HAVE_STRTOL 105 #define HAVE_TGETENT 106 #define HAVE_MEMSET 107 #define HAVE_STRERROR 108 #define HAVE_FCHOWN 109 #define HAVE_RENAME 110 #define HAVE_QSORT 111 #define HAVE_FSYNC 112 #define HAVE_GETPWUID 113 #define HAVE_GETPWNAM 114 #define HAVE_STDLIB_H 115 #define HAVE_STRING_H 116 #define HAVE_ERRNO_H 117 #define HAVE_OPENDIR 118 #define HAVE_PUTENV 119 #define HAVE_SETENV 120 #define HAVE_SETJMP_H 121 #define HAVE_MATH_H 122 #define HAVE_FLOAT_FUNCS 123 #define HAVE_GETTIMEOFDAY 124 #define HAVE_PWD_H 125 #define HAVE_NETDB_H 126 #define HAVE_DIRENT_H 127 128 #undef HAVE_SYS_NDIR_H 129 #undef HAVE_SYS_DIR_H 130 #undef HAVE_NDIR_H 131 #undef HAVE_SYS_WAIT_H 132 #undef HAVE_UNION_WAIT 133 #undef HAVE_SYS_SELECT_H 134 #undef HAVE_SYS_UTSNAME_H 135 #undef HAVE_SYS_SYSTEMINFO_H 136 #undef HAVE_TERMCAP_H 137 #undef HAVE_SGTTY_H 138 #undef HAVE_SYS_IOCTL_H 139 #undef HAVE_TERMIO_H 140 #undef HAVE_STROPTS_H 141 #undef HAVE_SYS_STREAM_H 142 #undef HAVE_SYS_PTEM_H 143 #undef HAVE_TERMIOS_H 144 #undef HAVE_LIBC_H 145 #undef HAVE_SYS_STATFS_H 146 #undef HAVE_SYS_POLL_H 147 #undef HAVE_FCHDIR 148 #undef HAVE_LSTAT 149 #undef HAVE_STDINT_H 150 151 // Hardware specific 152 #ifdef VAX 153 #undef HAVE_GETTIMEOFDAY 154 #undef HAVE_USLEEP 155 #undef HAVE_STRCASECMP 156 #undef HAVE_STRINGS_H 157 #undef HAVE_SIGSETJMP 158 #undef HAVE_ISNAN 159 #undef HAVE_XOS_R_H 160 #define HAVE_NO_LONG_LONG 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 #else // AXP and IA64 166 #define HAVE_GETTIMEOFDAY 167 #define HAVE_USLEEP 168 #define HAVE_STRCASECMP 169 #define HAVE_STRINGS_H 170 #define HAVE_SIGSETJMP 171 #define HAVE_ISNAN 172 #define HAVE_XOS_R_H 173 #define HAVE_NO_LONG_LONG 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 #endif 179 180 // Compiler specific 181 #ifdef VAXC 182 #undef HAVE_SELECT 183 #undef HAVE_FCNTL_H 184 #undef HAVE_UNISTD_H 185 #undef HAVE_SYS_TIME_H 186 #undef HAVE_LOCALE_H 187 #define BROKEN_LOCALE 188 #undef DYNAMIC_ICONV 189 #undef HAVE_STRFTIME 190 #else // DECC 191 #define HAVE_SELECT 192 #define HAVE_FCNTL_H 193 #define HAVE_UNISTD_H 1 194 #define HAVE_SYS_TIME_H 195 #define HAVE_LOCALE_H 196 #define BROKEN_LOCALE 197 #undef DYNAMIC_ICONV 198 #define HAVE_STRFTIME 199 #endif 200 201 #if defined(USE_ICONV) 202 #define HAVE_ICONV_H 203 #define HAVE_ICONV 204 #else 205 #undef HAVE_ICONV_H 206 #undef HAVE_ICONV 207 #endif 208 209 // GUI support defines 210 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) 211 #define X_INCLUDE_GRP_H // To use getgrgid 212 #define XUSE_MTSAFE_API 213 #define HAVE_X11 214 #define WANT_X11 215 #ifdef HAVE_XPM 216 #define HAVE_X11_XPM_H 217 #endif 218 #define USE_FONTSET 219 #undef X_LOCALE 220 #endif 221