6 At some time in the past, generated automatically by configure.
7 Maintained manually for better results.
10 #define PLATFORM "os2emx"
11 #define COMPILER "[EMX GCC " __VERSION__ "]"
18 /*#define Py_DEBUG 1*/
21 /* so that emx socket headers will define IP V4 socket types */
24 /* Use OS/2 flavour of threads */
28 /* Define if you want to read files with foreign newlines. */
29 #define WITH_UNIVERSAL_NEWLINES 1
35 /* enable the GC module */
36 #define WITH_CYCLE_GC 1
38 /* Define if you want documentation strings in extension modules */
39 #define WITH_DOC_STRINGS 1
42 #define Py_USING_UNICODE
43 #define PY_UNICODE_TYPE wchar_t
44 #define Py_UNICODE_SIZE SIZEOF_SHORT
46 /* enable the Python object allocator */
47 /*#define WITH_PYMALLOC 1*/
49 #define PYTHONPATH ".;./Lib;./Lib/plat-" PLATFORM ";./Lib/lib-dynload;./Lib/site-packages"
51 #define HAVE_TTYNAME 1
53 #define HAVE_GETEGID 1
54 #define HAVE_GETEUID 1
56 #define HAVE_GETPPID 1
58 #define HAVE_OPENDIR 1
62 #define HAVE_TTYNAME 1
63 #define HAVE_DYNAMIC_LOADING 1
65 /* if port of GDBM installed, it includes NDBM emulation */
68 /* need this for spawnv code in posixmodule (cloned from WIN32 def'n) */
69 typedef long intptr_t;
71 /* we don't have tm_zone but do have the external array
75 /* Define as the return type of signal handlers (int or void). */
76 #define RETSIGTYPE void
78 /* Define if you have the ANSI C header files. */
79 #define STDC_HEADERS 1
81 /* Define if you can safely include both <sys/time.h> and <time.h>. */
82 #define TIME_WITH_SYS_TIME 1
84 /* Used for BeOS configuration */
85 /* #undef DL_EXPORT_HEADER */
86 #ifdef DL_EXPORT_HEADER
87 #include DL_EXPORT_HEADER
90 /* Define this if you have the type long long */
91 #define HAVE_LONG_LONG 1
93 /* Define if your compiler supports function prototypes */
94 #define HAVE_PROTOTYPES 1
96 /* Define if your compiler supports variable length function prototypes
97 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
98 #define HAVE_STDARG_PROTOTYPES 1
100 /* Define if malloc(0) returns a NULL pointer */
101 #define MALLOC_ZERO_RETURNS_NULL 1
103 /* Define to force use of thread-safe errno, h_errno, and other functions */
106 /* Define if you can safely include both <sys/select.h> and <sys/time.h>
107 (which you can't on SCO ODT 3.0). */
108 #define SYS_SELECT_WITH_SYS_TIME 1
110 /* The number of bytes in an off_t. */
111 #define SIZEOF_OFF_T 4
113 /* The number of bytes in an time_t. */
114 #define SIZEOF_TIME_T 4
116 /* The number of bytes in a short. */
117 #define SIZEOF_SHORT 2
119 /* The number of bytes in a int. */
122 /* The number of bytes in a long. */
123 #define SIZEOF_LONG 4
125 /* The number of bytes in a long long. */
126 #define SIZEOF_LONG_LONG 8
128 /* The number of bytes in a void *. */
129 #define SIZEOF_VOID_P 4
131 /* Define if you have the alarm function. */
134 /* Define if you have the clock function. */
137 /* Define if you have the dup2 function. */
140 /* Define if you have the execv function. */
143 /* Define if you have the spawnv function. */
144 #define HAVE_SPAWNV 1
146 /* Define if you have the flock function. */
149 /* Define if you have the fork function. */
152 /* Define if you have the fsync function. */
155 /* Define if you have the ftime function. */
158 /* Define if you have the ftruncate function. */
159 #define HAVE_FTRUNCATE 1
161 /* Define if you have the getcwd function. */
162 #define HAVE_GETCWD 1
164 /* Define if you have the getpeername function. */
165 #define HAVE_GETPEERNAME 1
167 /* Define if you have the getpgrp function. */
168 #define HAVE_GETPGRP 1
170 /* Define if you have the getpid function. */
171 #define HAVE_GETPID 1
173 /* Define if you have the getpwent function. */
174 #define HAVE_GETPWENT 1
176 /* Define if you have the gettimeofday function. */
177 #define HAVE_GETTIMEOFDAY 1
179 /* Define if you have the getwd function. */
182 /* Define if you have the hypot function. */
185 /* Define if you have the kill function. */
188 /* Define if you have the memmove function. */
189 #define HAVE_MEMMOVE 1
191 /* Define if you have the mktime function. */
192 #define HAVE_MKTIME 1
194 /* Define if you have the pause function. */
197 /* Define if you have the putenv function. */
198 #define HAVE_PUTENV 1
200 /* Define if you have the select function. */
201 #define HAVE_SELECT 1
203 /* Define if you have the setgid function. */
204 #define HAVE_SETGID 1
206 /* Define if you have the setlocale function. */
207 #define HAVE_SETLOCALE 1
209 /* Define if you have the setpgid function. */
210 #define HAVE_SETPGID 1
212 /* Define if you have the setuid function. */
213 #define HAVE_SETUID 1
215 /* Define if you have the setvbuf function. */
216 #define HAVE_SETVBUF 1
218 /* Define if you have the sigaction function. */
219 #define HAVE_SIGACTION 1
221 /* Define if you have the strdup function. */
222 #define HAVE_STRDUP 1
224 /* Define if you have the strerror function. */
225 #define HAVE_STRERROR 1
227 /* Define if you have the strftime function. */
228 #define HAVE_STRFTIME 1
230 /* Define if you have the strptime function. */
231 #define HAVE_STRPTIME 1
233 /* Define if you have the tcgetpgrp function. */
234 #define HAVE_TCGETPGRP 1
236 /* Define if you have the tcsetpgrp function. */
237 #define HAVE_TCSETPGRP 1
239 /* Define if you have the times function. */
242 /* Define if you have the truncate function. */
243 #define HAVE_TRUNCATE 1
245 /* Define if you have the uname function. */
248 /* Define if you have the waitpid function. */
249 #define HAVE_WAITPID 1
251 /* Define if you have the <dirent.h> header file. */
252 #define HAVE_DIRENT_H 1
254 /* Define if you have the <fcntl.h> header file. */
255 #define HAVE_FCNTL_H 1
257 /* Define if you have the <limits.h> header file. */
258 #define HAVE_LIMITS_H 1
260 /* Define if you have the <locale.h> header file. */
261 #define HAVE_LOCALE_H 1
263 /* Define if you have the <ncurses.h> header file. */
264 #define HAVE_NCURSES_H 1
266 /* Define if you have the <signal.h> header file. */
267 #define HAVE_SIGNAL_H 1
269 /* Define if you have the <stdarg.h> header file. */
270 #define HAVE_STDARG_H 1
272 /* Define if you have the <stddef.h> header file. */
273 #define HAVE_STDDEF_H 1
275 /* Define if you have the <stdlib.h> header file. */
276 #define HAVE_STDLIB_H 1
278 /* Define if you have the <sys/file.h> header file. */
279 #define HAVE_SYS_FILE_H 1
281 /* Define if you have the <sys/param.h> header file. */
282 #define HAVE_SYS_PARAM_H 1
284 /* Define if you have the <sys/select.h> header file. */
285 #define HAVE_SYS_SELECT_H 1
287 /* Define if you have the <sys/time.h> header file. */
288 #define HAVE_SYS_TIME_H 1
290 /* Define if you have the <sys/times.h> header file. */
291 #define HAVE_SYS_TIMES_H 1
293 /* Define if you have the <sys/un.h> header file. */
294 #define HAVE_SYS_UN_H 1
296 /* Define if you have the <sys/utsname.h> header file. */
297 #define HAVE_SYS_UTSNAME_H 1
299 /* Define if you have the <sys/wait.h> header file. */
300 #define HAVE_SYS_WAIT_H 1
302 /* Define if you have the <unistd.h> header file. */
303 #define HAVE_UNISTD_H 1
305 /* Define if you have the <utime.h> header file. */
306 #define HAVE_UTIME_H 1
308 /* EMX has an snprintf() */
309 #define HAVE_SNPRINTF
311 #endif /* !Py_CONFIG_H */