Recognize files with 'patch' and 'diff' extensions
[MacVim.git] / src / os_os2_cfg.h
blob039d395f11c54a7ba3838d7cd94daf291ac7645a
1 /* os_os2_cfg.h */
2 /* vi:set ts=8 sts=4 sw=4: */
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() */
14 #define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */
17 * The rest is manually generated from configure.in by Paul Slootman.
20 /* Define unless no X support found */
21 #undef HAVE_X11
23 /* Define when terminfo support found */
24 #undef TERMINFO
26 /* Define when termcap.h contains ospeed */
27 #define HAVE_OSPEED 1
29 #define HAVE_STRICMP
30 #define HAVE_STRNICMP
32 /* Define when ospeed can be extern */
33 #define OSPEED_EXTERN
35 /* Define when termcap.h contains UP, BC and PC */
36 #define HAVE_UP_BC_PC 1
38 /* Define when UP, BC and PC can be extern */
39 #define UP_BC_PC_EXTERN
41 /* Define when termcap.h defines outfuntype */
42 #undef HAVE_OUTFUNTYPE
44 /* Define when __DATE__ " " __TIME__ can be used */
45 #define HAVE_DATE_TIME 1
47 #undef UNIX /* define always by current configure script */
49 /* Defined to the size of an int */
50 #define SIZEOF_INT 4
53 * If we cannot trust one of the following from the libraries, we use our
54 * own safe but probably slower mch_memmove().
56 #define USEBCOPY 1
57 #undef USEMEMMOVE
58 #undef USEMEMCPY
60 /* Define to empty if the keyword does not work. */
61 #undef const
63 /* Define to `int' if <sys/types.h> doesn't define. */
64 #undef mode_t
66 /* Define to `long' if <sys/types.h> doesn't define. */
67 #undef off_t
69 /* Define to `long' if <sys/types.h> doesn't define. */
70 #undef pid_t
72 /* Define to `unsigned' if <sys/types.h> doesn't define. */
73 #undef size_t
75 /* Define to `int' if <sys/types.h> doesn't define. */
76 #undef uid_t
78 /* Define to `int' if <sys/types.h> doesn't define. */
79 #undef gid_t
81 /* Define if you can safely include both <sys/time.h> and <time.h>. */
82 #define TIME_WITH_SYS_TIME 1
84 /* Define if you can safely include both <sys/time.h> and <sys/select.h>. */
85 #define SYS_SELECT_WITH_SYS_TIME 1
87 /* Define as the return type of signal handlers (int or void). */
88 #define RETSIGTYPE void
90 /* Define as the command at the end of signal handlers ("" or "return 0;"). */
91 #define SIGRETURN
93 /* Define if toupper/tolower only work on lower/uppercase characters */
94 #undef BROKEN_TOUPPER
96 /* Define if tgetstr() has a second argument that is (char *) */
97 #undef TGETSTR_CHAR_P
99 /* Define if you have the sigset() function. */
100 #undef HAVE_SIGSET
102 /* Define if the getcwd() function should not be used. */
103 #undef BAD_GETCWD
105 /* Define if you have the getcwd() function. */
106 #define HAVE_GETCWD 1
108 /* Define if you have the getwd() function. */
109 #define HAVE_GETWD 1
111 /* Define if you have the select() function. */
112 #define HAVE_SELECT 1
114 /* Define if you have the strcspn() function. */
115 #define HAVE_STRCSPN 1
117 /* Define if you have the strtol() function. */
118 #define HAVE_STRTOL 1
120 /* Define if you have the tgetent() function. */
121 #define HAVE_TGETENT 1
123 #define HAVE_STRFTIME /* guessed */
125 /* Define if you have the memset() function. */
126 #define HAVE_MEMSET 1
128 /* Define if you have the strerror() function. */
129 #define HAVE_STRERROR 1
131 /* Define if you have the strcasecmp() function. */
132 #undef HAVE_STRCASECMP
134 /* Define if you have the fchown() function. */
135 #undef HAVE_FCHOWN
137 /* Define if you have the rename() function. */
138 #define HAVE_RENAME 1
140 /* Define if you have the fsync() function. */
141 #undef HAVE_FSYNC /* exists, but apparently Bad Things happen when used */
143 /* Define if you have the fchdir() function. */
144 #undef HAVE_FCHDIR
146 /* Define if you have the setenv() function. */
147 #undef HAVE_SETENV
149 /* Define if you have the putenv() function. */
150 #define HAVE_PUTENV 1
152 /* Define if you have the gettimeofday() function. */
153 #undef HAVE_GETTIMEOFDAY
155 /* Define if you have the getpwuid() function. */
156 #undef HAVE_GETPWUID
158 /* Define if you have the getpwnam() function. */
159 #undef HAVE_GETPWNAM
161 /* Define if you have the qsort() function. */
162 #define HAVE_QSORT 1
164 /* Define if you have the <dirent.h> header file. */
165 #define HAVE_DIRENT_H 1
167 /* Define if you have the <sys/ndir.h> header file. */
168 #undef HAVE_SYS_NDIR_H
170 /* Define if you have the <sys/dir.h> header file. */
171 #undef HAVE_SYS_DIR_H
173 /* Define if you have the <ndir.h> header file. */
174 #undef HAVE_NDIR_H
176 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
177 #define HAVE_SYS_WAIT_H 1
179 /* Define if you have a <sys/wait.h> that is not POSIX.1 compatible. */
180 #undef HAVE_UNION_WAIT
182 /* This is currently unused in vim: */
183 /* Define if you have the ANSI C header files. */
184 /* #undef STDC_HEADERS */
186 /* added by David Sanders */
187 #define HAVE_STDARG_H 1
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 */
193 /* Define if you have the <sys/select.h> header file. */
194 #undef HAVE_SYS_SELECT_H
196 /* Define if you have the <sys/utsname.h> header file. */
197 #define HAVE_SYS_UTSNAME_H 1
199 /* Define if you have the <termcap.h> header file. */
200 #define HAVE_TERMCAP_H 1
202 /* Define if you have the <fcntl.h> header file. */
203 #define HAVE_FCNTL_H 1
205 /* Define if you have the <sgtty.h> header file. */
206 #define HAVE_SGTTY_H 1
208 /* Define if you have the <sys/ioctl.h> header file. */
209 #define HAVE_SYS_IOCTL_H 1
211 /* Define if you have the <sys/time.h> header file. */
212 #define HAVE_SYS_TIME_H
214 /* Define if you have the <termio.h> header file. */
215 #undef HAVE_TERMIO_H
217 /* Define if you have the <unistd.h> header file. */
218 #define HAVE_UNISTD_H 1
220 /* Define if you have the <stropts.h> header file. */
221 #undef HAVE_STROPTS_H
223 /* Define if you have the <errno.h> header file. */
224 #define HAVE_ERRNO_H 1
226 /* Define if you have the <strings.h> header file. */
227 #define HAVE_STRINGS_H 1
229 /* Define if you have the <sys/systeminfo.h> header file. */
230 #undef HAVE_SYS_SYSTEMINFO_H
232 /* Define if you have the <locale.h> header file. */
233 #define HAVE_LOCALE_H 1
235 /* Define if you have the <sys/stream.h> header file. */
236 #undef HAVE_SYS_STREAM_H
238 /* Define if you have the <sys/ptem.h> header file. */
239 #undef HAVE_SYS_PTEM_H
241 /* Define if you have the <termios.h> header file. */
242 #define HAVE_TERMIOS_H 1
244 /* Define if you have the <libc.h> header file. */
245 #undef HAVE_LIBC_H
247 /* Define if you have the <sys/statfs.h> header file. */
248 #undef HAVE_SYS_STATFS_H
250 /* Define if you have the <sys/poll.h> header file. */
251 #undef HAVE_SYS_POLL_H
253 /* Define if you have the <pwd.h> header file. */
254 #undef HAVE_PWD_H