5
* At some time in the past, generated automatically by/from configure.
6
* now maintained manually.
9
/* build environment */
10
#define PLATFORM "os2emx"
11
#define COMPILER "[EMX GCC " __VERSION__ "]"
15
/* default location(s) */
20
#define PYTHONPATH "./Lib;./Lib/plat-" PLATFORM \
21
";./Lib/lib-dynload;./Lib/site-packages"
26
/*#define Py_DEBUG 1*/
29
/* if building an extension or wrapper executable,
30
* mark Python API symbols "extern" so that symbols
31
* imported from the Python core DLL aren't duplicated.
34
# define PyAPI_FUNC(RTYPE) RTYPE
36
# define PyAPI_FUNC(RTYPE) extern RTYPE
38
#define PyAPI_DATA(RTYPE) extern RTYPE
39
#define PyMODINIT_FUNC void
41
/* Use OS/2 flavour of threads */
49
#define FD_SETSIZE 1024
51
/* enable the Python object allocator */
52
#define WITH_PYMALLOC 1
54
/* enable the GC module */
55
#define WITH_CYCLE_GC 1
57
/* Define if you want documentation strings in extension modules */
58
#define WITH_DOC_STRINGS 1
61
#define Py_USING_UNICODE 1
62
#define PY_UNICODE_TYPE wchar_t
63
#define Py_UNICODE_SIZE SIZEOF_SHORT
65
/* EMX defines ssize_t */
66
#define HAVE_SSIZE_T 1
68
/* system capabilities */
69
#define HAVE_TTYNAME 1
71
#define HAVE_GETEGID 1
72
#define HAVE_GETEUID 1
74
#define HAVE_GETPPID 1
76
#define HAVE_OPENDIR 1
80
#define HAVE_TTYNAME 1
81
#define HAVE_DYNAMIC_LOADING 1
83
/* if port of GDBM installed, it includes NDBM emulation */
86
/* need this for spawnv code in posixmodule (cloned from WIN32 def'n) */
87
typedef long intptr_t;
89
/* we don't have tm_zone but do have the external array tzname */
92
/* Define as the return type of signal handlers (int or void). */
93
#define RETSIGTYPE void
95
/* Define if you have the ANSI C header files. */
96
#define STDC_HEADERS 1
98
/* Define if you can safely include both <sys/time.h> and <time.h>. */
99
#define TIME_WITH_SYS_TIME 1
101
/* Define this if you have the type long long. */
102
#define HAVE_LONG_LONG 1
104
/* Define if your compiler supports function prototypes. */
105
#define HAVE_PROTOTYPES 1
107
/* Define if your compiler supports variable length function prototypes
108
* (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h>.
110
#define HAVE_STDARG_PROTOTYPES 1
112
/* Define if malloc(0) returns a NULL pointer. */
113
#define MALLOC_ZERO_RETURNS_NULL 1
115
/* Define to force use of thread-safe errno, h_errno, and other functions. */
118
/* Define if you can safely include both <sys/select.h> and <sys/time.h>
119
* (which you can't on SCO ODT 3.0).
121
#define SYS_SELECT_WITH_SYS_TIME 1
123
/* The number of bytes in an off_t. */
124
#define SIZEOF_OFF_T 4
126
/* The number of bytes in an time_t. */
127
#define SIZEOF_TIME_T 4
129
/* The number of bytes in a short. */
130
#define SIZEOF_SHORT 2
132
/* The number of bytes in a int. */
135
/* The number of bytes in a long. */
136
#define SIZEOF_LONG 4
138
/* The number of bytes in a long long. */
139
#define SIZEOF_LONG_LONG 8
141
/* The number of bytes in a void *. */
142
#define SIZEOF_VOID_P 4
144
/* The number of bytes in a size_t. */
145
#define SIZEOF_SIZE_T 4
147
/* Define if you have the alarm function. */
150
/* Define if you have the clock function. */
153
/* Define if you have the dup2 function. */
156
/* Define if you have the execv function. */
159
/* Define if you have the spawnv function. */
160
#define HAVE_SPAWNV 1
162
/* Define if you have the flock function. */
165
/* Define if you have the fork function. */
168
/* Define if you have the fsync function. */
171
/* Define if you have the ftime function. */
174
/* Define if you have the ftruncate function. */
175
#define HAVE_FTRUNCATE 1
177
/* Define if you have the getcwd function. */
178
#define HAVE_GETCWD 1
180
/* Define if you have the getpeername function. */
181
#define HAVE_GETPEERNAME 1
183
/* Define if you have the getpgrp function. */
184
#define HAVE_GETPGRP 1
186
/* Define if you have the getpid function. */
187
#define HAVE_GETPID 1
189
/* Define if you have the getpwent function. */
190
#define HAVE_GETPWENT 1
192
/* Define if you have the gettimeofday function. */
193
#define HAVE_GETTIMEOFDAY 1
195
/* Define if you have the getwd function. */
198
/* Define if you have the hypot function. */
201
/* Define if you have the kill function. */
204
/* Define if you have the memmove function. */
205
#define HAVE_MEMMOVE 1
207
/* Define if you have the mktime function. */
208
#define HAVE_MKTIME 1
210
/* Define if you have the pause function. */
213
/* Define if you have the putenv function. */
214
#define HAVE_PUTENV 1
216
/* Define if you have the select function. */
217
#define HAVE_SELECT 1
219
/* Define if you have the setgid function. */
220
#define HAVE_SETGID 1
222
/* Define if you have the setlocale function. */
223
#define HAVE_SETLOCALE 1
225
/* Define if you have the setpgid function. */
226
#define HAVE_SETPGID 1
228
/* Define if you have the setuid function. */
229
#define HAVE_SETUID 1
231
/* Define if you have the setvbuf function. */
232
#define HAVE_SETVBUF 1
234
/* Define if you have the sigaction function. */
235
#define HAVE_SIGACTION 1
237
/* Define if you have the strerror function. */
238
#define HAVE_STRERROR 1
240
/* Define if you have the strftime function. */
241
#define HAVE_STRFTIME 1
243
/* Define if you have the tcgetpgrp function. */
244
#define HAVE_TCGETPGRP 1
246
/* Define if you have the tcsetpgrp function. */
247
#define HAVE_TCSETPGRP 1
249
/* Define if you have the tmpfile function. */
250
#define HAVE_TMPFILE 1
252
/* Define if you have the times function. */
255
/* Define if you have the truncate function. */
256
#define HAVE_TRUNCATE 1
258
/* Define if you have the uname function. */
261
/* Define if you have the waitpid function. */
262
#define HAVE_WAITPID 1
264
/* Define if you have the <conio.h> header file. */
267
/* Define to 1 if you have the `copysign' function. */
268
#define HAVE_COPYSIGN 1
270
/* Define if you have the <direct.h> header file. */
273
/* Define if you have the <dirent.h> header file. */
274
#define HAVE_DIRENT_H 1
276
/* Define if you have the <errno.h> header file. */
277
#define HAVE_ERRNO_H 1
279
/* Define if you have the <fcntl.h> header file. */
280
#define HAVE_FCNTL_H 1
282
/* Define if you have the <io.h> header file. */
285
/* Define if you have the <ncurses.h> header file. */
286
#define HAVE_NCURSES_H 1
288
/* Define to 1 if you have the <process.h> header file. */
289
#define HAVE_PROCESS_H 1
291
/* Define if you have the <signal.h> header file. */
292
#define HAVE_SIGNAL_H 1
294
/* Define if you have the <sys/file.h> header file. */
295
#define HAVE_SYS_FILE_H 1
297
/* Define if you have the <sys/param.h> header file. */
298
#define HAVE_SYS_PARAM_H 1
300
/* Define if you have the <sys/select.h> header file. */
301
#define HAVE_SYS_SELECT_H 1
303
/* Define if you have the <sys/stat.h> header file. */
304
#define HAVE_SYS_STAT_H 1
306
/* Define if you have the <sys/time.h> header file. */
307
#define HAVE_SYS_TIME_H 1
309
/* Define if you have the <sys/times.h> header file. */
310
#define HAVE_SYS_TIMES_H 1
312
/* Define if you have the <sys/types.h> header file. */
313
#define HAVE_SYS_TYPES_H 1
315
/* Define if you have the <sys/un.h> header file. */
316
#define HAVE_SYS_UN_H 1
318
/* Define if you have the <sys/utsname.h> header file. */
319
#define HAVE_SYS_UTSNAME_H 1
321
/* Define if you have the <sys/wait.h> header file. */
322
#define HAVE_SYS_WAIT_H 1
324
/* Define if you have the <unistd.h> header file. */
325
#define HAVE_UNISTD_H 1
327
/* Define if you have the <utime.h> header file. */
328
#define HAVE_UTIME_H 1
330
/* EMX has an snprintf(). */
331
#define HAVE_SNPRINTF 1
333
#endif /* !Py_CONFIG_H */