source: trunk/essentials/dev-lang/python/RISCOS/pyconfig.h@ 3403

Last change on this file since 3403 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 18.1 KB
Line 
1/* RISCOS/pyconfig.h: Python configuration for RISC OS */
2
3#ifndef Py_PYCONFIG_H
4#define Py_PYCONFIG_H
5
6/* Define if on AIX 3.
7 System headers sometimes define this.
8 We just want to avoid a redefinition error message. */
9#ifndef _ALL_SOURCE
10#undef _ALL_SOURCE
11#endif
12
13/* Define if type char is unsigned and you are not using gcc. */
14#ifndef __CHAR_UNSIGNED__
15#undef __CHAR_UNSIGNED__
16#endif
17
18/* Define to empty if the keyword does not work. */
19#undef const
20
21/* Define to `int' if <sys/types.h> doesn't define. */
22#undef gid_t
23
24/* Define if your struct tm has tm_zone. */
25#undef HAVE_TM_ZONE
26
27/* Define if you don't have tm_zone but do have the external array
28 tzname. */
29#undef HAVE_TZNAME
30
31/* Define to `int' if <sys/types.h> doesn't define. */
32#undef mode_t
33
34/* Define to `long' if <sys/types.h> doesn't define. */
35#undef off_t
36
37/* Define to `int' if <sys/types.h> doesn't define. */
38#undef pid_t
39
40/* Define if the system does not provide POSIX.1 features except
41 with this defined. */
42#undef _POSIX_1_SOURCE
43
44/* Define if you need to in order for stat and other things to work. */
45#undef _POSIX_SOURCE
46
47/* Define as the return type of signal handlers (int or void). */
48#define RETSIGTYPE void
49
50/* Define to `unsigned' if <sys/types.h> doesn't define. */
51#undef size_t
52
53/* Define if you have the ANSI C header files. */
54#define STDC_HEADERS 1
55
56/* Define if you can safely include both <sys/time.h> and <time.h>. */
57#undef TIME_WITH_SYS_TIME
58
59/* Define if your <sys/time.h> declares struct tm. */
60#define TM_IN_SYS_TIME 1
61
62/* Define to `int' if <sys/types.h> doesn't define. */
63#undef uid_t
64
65/* Define if your processor stores words with the most significant
66 byte first (like Motorola and SPARC, unlike Intel and VAX). */
67#undef WORDS_BIGENDIAN
68
69/* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
70 and you want support for AIX C++ shared extension modules. */
71#undef AIX_GENUINE_CPLUSPLUS
72
73/* Define if your compiler botches static forward declarations
74 (as it does on SCI ODT 3.0) */
75#undef BAD_STATIC_FORWARD
76
77/* Define this if you have BeOS threads */
78#undef BEOS_THREADS
79
80/* Define if you have the Mach cthreads package */
81#undef C_THREADS
82
83/* Define to `long' if <time.h> doesn't define. */
84#undef clock_t
85
86/* Defined on Solaris to see additional function prototypes. */
87#undef __EXTENSIONS__
88
89/* This must be set to 64 on some systems to enable large file support */
90#undef _FILE_OFFSET_BITS
91
92/* Define if getpgrp() must be called as getpgrp(0). */
93#undef GETPGRP_HAVE_ARG
94
95/* Define if gettimeofday() does not have second (timezone) argument
96 This is the case on Motorola V4 (R40V4.2) */
97#undef GETTIMEOFDAY_NO_TZ
98
99/* Define this if your time.h defines altzone */
100#undef HAVE_ALTZONE
101
102/* Define if --enable-ipv6 is specified */
103#undef ENABLE_IPV6
104
105/* Define if sockaddr has sa_len member */
106#undef HAVE_SOCKADDR_SA_LEN
107
108/* struct addrinfo (netdb.h) */
109#undef HAVE_ADDRINFO
110
111/* struct sockaddr_storage (sys/socket.h) */
112#undef HAVE_SOCKADDR_STORAGE
113
114/* Defined when any dynamic module loading is enabled */
115#define HAVE_DYNAMIC_LOADING 1
116
117/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
118#undef HAVE_GETC_UNLOCKED
119
120/* Define this if you have some version of gethostbyname_r() */
121#undef HAVE_GETHOSTBYNAME_R
122
123/* Define this if you have the 3-arg version of gethostbyname_r() */
124#undef HAVE_GETHOSTBYNAME_R_3_ARG
125
126/* Define this if you have the 5-arg version of gethostbyname_r() */
127#undef HAVE_GETHOSTBYNAME_R_5_ARG
128
129/* Define this if you have the 6-arg version of gethostbyname_r() */
130#undef HAVE_GETHOSTBYNAME_R_6_ARG
131
132/* Defined to enable large file support when an off_t is bigger than a long
133 and long long is available and at least as big as an off_t. You may need
134 to add some flags for configuration and compilation to enable this mode.
135 E.g, for Solaris 2.7:
136 CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
137 configure
138*/
139#undef HAVE_LARGEFILE_SUPPORT
140
141/* Define this if you have the type long long */
142#define HAVE_LONG_LONG
143
144/* Define if your compiler supports function prototypes */
145#define HAVE_PROTOTYPES 1
146
147/* Define if you have GNU PTH threads */
148#undef HAVE_PTH
149
150/* Define if you have readline 4.2 */
151#undef HAVE_RL_COMPLETION_MATCHES
152
153/* Define if your compiler supports variable length function prototypes
154 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
155#define HAVE_STDARG_PROTOTYPES 1
156
157/* Define this if you have the type uintptr_t */
158#undef HAVE_UINTPTR_T
159
160/* Define if you have a useable wchar_t type defined in wchar.h; useable
161 means wchar_t must be 16-bit unsigned type. (see
162 Include/unicodeobject.h). */
163#undef HAVE_USABLE_WCHAR_T
164
165/* Define if the compiler provides a wchar.h header file. */
166#undef HAVE_WCHAR_H
167
168/* This must be defined on some systems to enable large file support */
169#undef _LARGEFILE_SOURCE
170
171/* Define if you want to have a Unicode type. */
172#define Py_USING_UNICODE 1
173
174/* Define as the integral type used for Unicode representation. */
175#define PY_UNICODE_TYPE unsigned short
176
177/* Define as the size of the unicode type. */
178#define Py_UNICODE_SIZE 2
179
180/* Define if nice() returns success/failure instead of the new priority. */
181#undef HAVE_BROKEN_NICE
182
183/* Define if you have POSIX threads */
184#undef _POSIX_THREADS
185
186/* Define if you want to build an interpreter with many run-time checks */
187#undef Py_DEBUG
188
189/* Define to force use of thread-safe errno, h_errno, and other functions */
190#undef _REENTRANT
191
192/* Define if setpgrp() must be called as setpgrp(0, 0). */
193#undef SETPGRP_HAVE_ARG
194
195/* Define to empty if the keyword does not work. */
196#undef signed
197
198/* Define if i>>j for signed int i does not extend the sign bit
199 when i < 0
200*/
201#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
202
203/* The number of bytes in an off_t. */
204#define SIZEOF_OFF_T 4
205
206/* The number of bytes in a time_t. */
207#define SIZEOF_TIME_T 4
208
209/* The number of bytes in a pthread_t. */
210#undef SIZEOF_PTHREAD_T
211
212/* Define to `int' if <sys/types.h> doesn't define. */
213#define socklen_t int
214
215/* Define if you can safely include both <sys/select.h> and <sys/time.h>
216 (which you can't on SCO ODT 3.0). */
217#undef SYS_SELECT_WITH_SYS_TIME
218
219/* Define if a va_list is an array of some kind */
220#define VA_LIST_IS_ARRAY 1
221
222/* Define to empty if the keyword does not work. */
223#undef volatile
224
225/* Define if you want SIGFPE handled (see Include/pyfpe.h). */
226#undef WANT_SIGFPE_HANDLER
227
228/* Define if you want wctype.h functions to be used instead of the
229 one supplied by Python itself. (see Include/unicodectype.h). */
230#undef WANT_WCTYPE_FUNCTIONS
231
232/* Define if you want documentation strings in extension modules */
233#define WITH_DOC_STRINGS 1
234
235/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
236 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
237 linker (rld). Dyld is necessary to support frameworks. */
238#undef WITH_DYLD
239
240/* Define if you want to compile in Python-specific mallocs */
241#define WITH_PYMALLOC 1
242
243/* Define if you want to produce an OpenStep/Rhapsody framework
244 (shared library plus accessory files). */
245#undef WITH_NEXT_FRAMEWORK
246
247/* Define if you want to use MacPython modules on MacOSX in unix-Python */
248#undef USE_TOOLBOX_OBJECT_GLUE
249
250/* Define if you want to compile in rudimentary thread support */
251#undef WITH_THREAD
252
253/* The number of bytes in a char. */
254#define SIZEOF_CHAR 1
255
256/* The number of bytes in a double. */
257#define SIZEOF_DOUBLE 8
258
259/* The number of bytes in a float. */
260#define SIZEOF_FLOAT 4
261
262/* The number of bytes in a fpos_t. */
263#undef SIZEOF_FPOS_T
264
265/* The number of bytes in a int. */
266#define SIZEOF_INT 4
267
268/* The number of bytes in a long. */
269#define SIZEOF_LONG 4
270
271/* The number of bytes in a long long. */
272#define SIZEOF_LONG_LONG 8
273
274/* The number of bytes in a short. */
275#define SIZEOF_SHORT 2
276
277/* The number of bytes in a uintptr_t. */
278#undef SIZEOF_UINTPTR_T
279
280/* The number of bytes in a void *. */
281#define SIZEOF_VOID_P 4
282
283/* The number of bytes in a wchar_t. */
284#undef SIZEOF_WCHAR_T
285
286/* Define if you have the _getpty function. */
287#undef HAVE__GETPTY
288
289/* Define if you have the alarm function. */
290#undef HAVE_ALARM
291
292/* Define if you have the chown function. */
293#undef HAVE_CHOWN
294
295/* Define if you have the clock function. */
296#define HAVE_CLOCK 1
297
298/* Define if you have the confstr function. */
299#undef HAVE_CONFSTR
300
301/* Define if you have the ctermid function. */
302#undef HAVE_CTERMID
303
304/* Define if you have the ctermid_r function. */
305#undef HAVE_CTERMID_R
306
307/* Define if you have the dlopen function. */
308#undef HAVE_DLOPEN
309
310/* Define if you have the dup2 function. */
311#undef HAVE_DUP2
312
313/* Define if you have the execv function. */
314#undef HAVE_EXECV
315
316/* Define if you have the fdatasync function. */
317#undef HAVE_FDATASYNC
318
319/* Define if you have the flock function. */
320#undef HAVE_FLOCK
321
322/* Define if you have the fork function. */
323#undef HAVE_FORK
324
325/* Define if you have the forkpty function. */
326#undef HAVE_FORKPTY
327
328/* Define if you have the fpathconf function. */
329#undef HAVE_FPATHCONF
330
331/* Define if you have the fseek64 function. */
332#undef HAVE_FSEEK64
333
334/* Define if you have the fseeko function. */
335#undef HAVE_FSEEKO
336
337/* Define if you have the fstatvfs function. */
338#undef HAVE_FSTATVFS
339
340/* Define if you have the fsync function. */
341#undef HAVE_FSYNC
342
343/* Define if you have the ftell64 function. */
344#undef HAVE_FTELL64
345
346/* Define if you have the ftello function. */
347#undef HAVE_FTELLO
348
349/* Define if you have the ftime function. */
350#undef HAVE_FTIME
351
352/* Define if you have the ftruncate function. */
353#undef HAVE_FTRUNCATE
354
355/* Define if you have the gai_strerror function. */
356#undef HAVE_GAI_STRERROR
357
358/* Define if you have the getaddrinfo function. */
359#undef HAVE_GETADDRINFO
360
361/* Define if you have the getcwd function. */
362#undef HAVE_GETCWD
363
364/* Define if you have the getgroups function. */
365#undef HAVE_GETGROUPS
366
367/* Define if you have the gethostbyname function. */
368#undef HAVE_GETHOSTBYNAME
369
370/* Define if you have the getlogin function. */
371#undef HAVE_GETLOGIN
372
373/* Define if you have the getnameinfo function. */
374#undef HAVE_GETNAMEINFO
375
376/* Define if you have the getpeername function. */
377#define HAVE_GETPEERNAME
378
379/* Define if you have the getpgid function. */
380#undef HAVE_GETPGID
381
382/* Define if you have the getpgrp function. */
383#undef HAVE_GETPGRP
384
385/* Define if you have the getpid function. */
386#undef HAVE_GETPID
387
388/* Define if you have the getpriority function. */
389#undef HAVE_GETPRIORITY
390
391/* Define if you have the getpwent function. */
392#undef HAVE_GETPWENT
393
394/* Define if you have the gettimeofday function. */
395#undef HAVE_GETTIMEOFDAY
396
397/* Define if you have the getwd function. */
398#undef HAVE_GETWD
399
400/* Define if you have the hstrerror function. */
401#undef HAVE_HSTRERROR
402
403/* Define if you have the hypot function. */
404#define HAVE_HYPOT
405
406/* Define if you have the inet_pton function. */
407#define HAVE_INET_PTON 1
408
409/* Define if you have the kill function. */
410#undef HAVE_KILL
411
412/* Define if you have the link function. */
413#undef HAVE_LINK
414
415/* Define if you have the lstat function. */
416#undef HAVE_LSTAT
417
418/* Define if you have the memmove function. */
419#define HAVE_MEMMOVE 1
420
421/* Define if you have the mkfifo function. */
422#undef HAVE_MKFIFO
423
424/* Define if you have the mktime function. */
425#define HAVE_MKTIME 1
426
427/* Define if you have the mremap function. */
428#undef HAVE_MREMAP
429
430/* Define if you have the nice function. */
431#undef HAVE_NICE
432
433/* Define if you have the openpty function. */
434#undef HAVE_OPENPTY
435
436/* Define if you have the pathconf function. */
437#undef HAVE_PATHCONF
438
439/* Define if you have the pause function. */
440#undef HAVE_PAUSE
441
442/* Define if you have the plock function. */
443#undef HAVE_PLOCK
444
445/* Define if you have the poll function. */
446#undef HAVE_POLL