Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* os_os2_cfg.h */ |
| 2 | /* vi:set ts=8 sts=4 sw=4: */ |
| 3 | |
| 4 | #define CASE_INSENSITIVE_FILENAME /* ignore case when comparing file names */ |
| 5 | #define SPACE_IN_FILENAME |
| 6 | #define BACKSLASH_IN_FILENAME |
| 7 | #define BINARY_FILE_IO |
| 8 | #define USE_CRNL /* lines end in CR-NL instead of NL */ |
| 9 | #define NO_EXPANDPATH /* always call mch_expand_wildcards */ |
| 10 | #define USE_EXE_NAME /* use argv[0] for $VIM */ |
| 11 | #define USE_TERM_CONSOLE |
| 12 | #define HAVE_DUP /* have dup() */ |
| 13 | |
| 14 | #define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */ |
| 15 | |
| 16 | /* |
| 17 | * The rest is manually generated from configure.in by Paul Slootman. |
| 18 | */ |
| 19 | |
| 20 | /* Define unless no X support found */ |
| 21 | #undef HAVE_X11 |
| 22 | |
| 23 | /* Define when terminfo support found */ |
| 24 | #undef TERMINFO |
| 25 | |
| 26 | /* Define when termcap.h contains ospeed */ |
| 27 | #define HAVE_OSPEED 1 |
| 28 | |
| 29 | #define HAVE_STRICMP |
| 30 | #define HAVE_STRNICMP |
| 31 | |
| 32 | /* Define when ospeed can be extern */ |
| 33 | #define OSPEED_EXTERN |
| 34 | |
| 35 | /* Define when termcap.h contains UP, BC and PC */ |
| 36 | #define HAVE_UP_BC_PC 1 |
| 37 | |
| 38 | /* Define when UP, BC and PC can be extern */ |
| 39 | #define UP_BC_PC_EXTERN |
| 40 | |
| 41 | /* Define when termcap.h defines outfuntype */ |
| 42 | #undef HAVE_OUTFUNTYPE |
| 43 | |
| 44 | /* Define when __DATE__ " " __TIME__ can be used */ |
| 45 | #define HAVE_DATE_TIME 1 |
| 46 | |
| 47 | #undef UNIX /* define always by current configure script */ |
| 48 | |
| 49 | /* Defined to the size of an int */ |
| 50 | #define SIZEOF_INT 4 |
| 51 | |
| 52 | /* |
| 53 | * If we cannot trust one of the following from the libraries, we use our |
| 54 | * own safe but probably slower mch_memmove(). |
| 55 | */ |
| 56 | #define USEBCOPY 1 |
| 57 | #undef USEMEMMOVE |
| 58 | #undef USEMEMCPY |
| 59 | |
| 60 | /* Define to empty if the keyword does not work. */ |
| 61 | #undef const |
| 62 | |
| 63 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 64 | #undef mode_t |
| 65 | |
| 66 | /* Define to `long' if <sys/types.h> doesn't define. */ |
| 67 | #undef off_t |
| 68 | |
| 69 | /* Define to `long' if <sys/types.h> doesn't define. */ |
| 70 | #undef pid_t |
| 71 | |
| 72 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
| 73 | #undef size_t |
| 74 | |
| 75 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 76 | #undef uid_t |
| 77 | |
| 78 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 79 | #undef gid_t |
| 80 | |
| 81 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ |
| 82 | #define TIME_WITH_SYS_TIME 1 |
| 83 | |
| 84 | /* Define if you can safely include both <sys/time.h> and <sys/select.h>. */ |
| 85 | #define SYS_SELECT_WITH_SYS_TIME 1 |
| 86 | |
| 87 | /* Define as the return type of signal handlers (int or void). */ |
| 88 | #define RETSIGTYPE void |
| 89 | |
| 90 | /* Define as the command at the end of signal handlers ("" or "return 0;"). */ |
| 91 | #define SIGRETURN |
| 92 | |
| 93 | /* Define if touuper/tolower only work on lower/upercase characters */ |
| 94 | #undef BROKEN_TOUPPER |
| 95 | |
| 96 | /* Define if tgetstr() has a second argument that is (char *) */ |
| 97 | #undef TGETSTR_CHAR_P |
| 98 | |
| 99 | /* Define if you have the sigset() function. */ |
| 100 | #undef HAVE_SIGSET |
| 101 | |
| 102 | /* Define if the getcwd() function should not be used. */ |
| 103 | #undef BAD_GETCWD |
| 104 | |
| 105 | /* Define if you have the getcwd() function. */ |
| 106 | #define HAVE_GETCWD 1 |
| 107 | |
| 108 | /* Define if you have the getwd() function. */ |
| 109 | #define HAVE_GETWD 1 |
| 110 | |
| 111 | /* Define if you have the select() function. */ |
| 112 | #define HAVE_SELECT 1 |
| 113 | |
| 114 | /* Define if you have the strcspn() function. */ |
| 115 | #define HAVE_STRCSPN 1 |
| 116 | |
| 117 | /* Define if you have the strtol() function. */ |
| 118 | #define HAVE_STRTOL 1 |
| 119 | |
| 120 | /* Define if you have the tgetent() function. */ |
| 121 | #define HAVE_TGETENT 1 |
| 122 | |
| 123 | #define HAVE_STRFTIME /* guessed */ |
| 124 | |
| 125 | /* Define if you have the memset() function. */ |
| 126 | #define HAVE_MEMSET 1 |
| 127 | |
| 128 | /* Define if you have the strerror() function. */ |
| 129 | #define HAVE_STRERROR 1 |
| 130 | |
| 131 | /* Define if you have the strcasecmp() function. */ |
| 132 | #undef HAVE_STRCASECMP |
| 133 | |
| 134 | /* Define if you have the fchown() function. */ |
| 135 | #undef HAVE_FCHOWN |
| 136 | |
| 137 | /* Define if you have the rename() function. */ |
| 138 | #define HAVE_RENAME 1 |
| 139 | |
| 140 | /* Define if you have the fsync() function. */ |
| 141 | #undef HAVE_FSYNC /* exists, but apparently Bad Things happen when used */ |
| 142 | |
| 143 | /* Define if you have the fchdir() function. */ |
| 144 | #undef HAVE_FCHDIR |
| 145 | |
| 146 | /* Define if you have the setenv() function. */ |
| 147 | #undef HAVE_SETENV |
| 148 | |
| 149 | /* Define if you have the putenv() function. */ |
| 150 | #define HAVE_PUTENV 1 |
| 151 | |
| 152 | /* Define if you have the gettimeofday() function. */ |
| 153 | #undef HAVE_GETTIMEOFDAY |
| 154 | |
| 155 | /* Define if you have the getpwuid() function. */ |
| 156 | #undef HAVE_GETPWUID |
| 157 | |
| 158 | /* Define if you have the getpwnam() function. */ |
| 159 | #undef HAVE_GETPWNAM |
| 160 | |
| 161 | /* Define if you have the qsort() function. */ |
| 162 | #define HAVE_QSORT 1 |
| 163 | |
| 164 | /* Define if you have the <dirent.h> header file. */ |
| 165 | #define HAVE_DIRENT_H 1 |
| 166 | |
| 167 | /* Define if you have the <sys/ndir.h> header file. */ |
| 168 | #undef HAVE_SYS_NDIR_H |
| 169 | |
| 170 | /* Define if you have the <sys/dir.h> header file. */ |
| 171 | #undef HAVE_SYS_DIR_H |
| 172 | |
| 173 | /* Define if you have the <ndir.h> header file. */ |
| 174 | #undef HAVE_NDIR_H |
| 175 | |
| 176 | /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ |
| 177 | #define HAVE_SYS_WAIT_H 1 |
| 178 | |
| 179 | /* Define if you have a <sys/wait.h> that is not POSIX.1 compatible. */ |
| 180 | #undef HAVE_UNION_WAIT |
| 181 | |
| 182 | /* This is currently unused in vim: */ |
| 183 | /* Define if you have the ANSI C header files. */ |
| 184 | /* #undef STDC_HEADERS */ |
| 185 | |
Bram Moolenaar | 654b5b5 | 2006-06-22 17:47:10 +0000 | [diff] [blame] | 186 | /* added by David Sanders */ |
| 187 | #define HAVE_STDARG_H 1 |
| 188 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 189 | /* instead, we check a few STDC things ourselves */ |
| 190 | #define HAVE_STDLIB_H 1 |
| 191 | #undef HAVE_STRING_H /* On EMX it is better to use strings.h */ |
| 192 | |
| 193 | /* Define if you have the <sys/select.h> header file. */ |
| 194 | #undef HAVE_SYS_SELECT_H |
| 195 | |
| 196 | /* Define if you have the <sys/utsname.h> header file. */ |
| 197 | #define HAVE_SYS_UTSNAME_H 1 |
| 198 | |
| 199 | /* Define if you have the <termcap.h> header file. */ |
| 200 | #define HAVE_TERMCAP_H 1 |
| 201 | |
| 202 | /* Define if you have the <fcntl.h> header file. */ |
| 203 | #define HAVE_FCNTL_H 1 |
| 204 | |
| 205 | /* Define if you have the <sgtty.h> header file. */ |
| 206 | #define HAVE_SGTTY_H 1 |
| 207 | |
| 208 | /* Define if you have the <sys/ioctl.h> header file. */ |
| 209 | #define HAVE_SYS_IOCTL_H 1 |
| 210 | |
| 211 | /* Define if you have the <sys/time.h> header file. */ |
| 212 | #define HAVE_SYS_TIME_H |
| 213 | |
| 214 | /* Define if you have the <termio.h> header file. */ |
| 215 | #undef HAVE_TERMIO_H |
| 216 | |
| 217 | /* Define if you have the <unistd.h> header file. */ |
| 218 | #define HAVE_UNISTD_H 1 |
| 219 | |
| 220 | /* Define if you have the <stropts.h> header file. */ |
| 221 | #undef HAVE_STROPTS_H |
| 222 | |
| 223 | /* Define if you have the <errno.h> header file. */ |
| 224 | #define HAVE_ERRNO_H 1 |
| 225 | |
| 226 | /* Define if you have the <strings.h> header file. */ |
| 227 | #define HAVE_STRINGS_H 1 |
| 228 | |
| 229 | /* Define if you have the <sys/systeminfo.h> header file. */ |
| 230 | #undef HAVE_SYS_SYSTEMINFO_H |
| 231 | |
| 232 | /* Define if you have the <locale.h> header file. */ |
| 233 | #define HAVE_LOCALE_H 1 |
| 234 | |
| 235 | /* Define if you have the <sys/stream.h> header file. */ |
| 236 | #undef HAVE_SYS_STREAM_H |
| 237 | |
| 238 | /* Define if you have the <sys/ptem.h> header file. */ |
| 239 | #undef HAVE_SYS_PTEM_H |
| 240 | |
| 241 | /* Define if you have the <termios.h> header file. */ |
| 242 | #define HAVE_TERMIOS_H 1 |
| 243 | |
| 244 | /* Define if you have the <libc.h> header file. */ |
| 245 | #undef HAVE_LIBC_H |
| 246 | |
| 247 | /* Define if you have the <sys/statfs.h> header file. */ |
| 248 | #undef HAVE_SYS_STATFS_H |
| 249 | |
| 250 | /* Define if you have the <sys/poll.h> header file. */ |
| 251 | #undef HAVE_SYS_POLL_H |
| 252 | |
| 253 | /* Define if you have the <pwd.h> header file. */ |
| 254 | #undef HAVE_PWD_H |