When the classes in wave.py opened files themselves, their .close() methods
[python/dscho.git] / Mac / Include / config.h
blob5214168dd705d0035885191195b9c2132afcfd17
1 /***********************************************************
2 Copyright 1991-1997 by Stichting Mathematisch Centrum, Amsterdam,
3 The Netherlands.
5 All Rights Reserved
7 Permission to use, copy, modify, and distribute this software and its
8 documentation for any purpose and without fee is hereby granted,
9 provided that the above copyright notice appear in all copies and that
10 both that copyright notice and this permission notice appear in
11 supporting documentation, and that the names of Stichting Mathematisch
12 Centrum or CWI not be used in advertising or publicity pertaining to
13 distribution of the software without specific, written prior permission.
15 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
16 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
17 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
18 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
21 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 ******************************************************************/
25 /* config.h for Macintosh.
26 Valid only for CodeWarrior.
27 There's no point in giving exact version numbers of the compilers
28 since we don't update this file as each compiler comes out;
29 with CodeWarrior, we generally use the most recent version.
32 #define USE_STACKCHECK
34 /* Define if on Macintosh (MPW or __MWERKS__ should also be defined) */
35 #ifndef macintosh
36 #define macintosh
37 #endif
39 /* Define to case-check imported modules (why is this here?) */
40 #define CHECK_IMPORT_CASE
42 #if defined(USE_GUSI1) || defined(USE_GUSI2)
43 #define USE_GUSI
44 #endif
46 #ifndef USE_GUSI
47 #define DONT_HAVE_SYS_TYPES_H
48 #define DONT_HAVE_SYS_STAT_H
49 #define HAVE_STAT_H
50 #endif
52 /* Define if on AIX 3.
53 System headers sometimes define this.
54 We just want to avoid a redefinition error message. */
55 #ifndef _ALL_SOURCE
56 #undef _ALL_SOURCE
57 #endif
59 /* Define if type char is unsigned and you are not using gcc. */
60 #ifndef __CHAR_UNSIGNED__
61 #undef __CHAR_UNSIGNED__
62 #endif
64 /* Define to empty if the keyword does not work. */
65 #undef const
67 /* Define to `int' if <sys/types.h> doesn't define. */
68 #undef gid_t
70 /* Define if your struct tm has tm_zone. */
71 #undef HAVE_TM_ZONE
73 /* Define if you don't have tm_zone but do have the external array
74 tzname. */
75 #undef HAVE_TZNAME
77 /* Define as __inline if that's what the C compiler calls it. */
78 #undef inline
80 /* Define if on MINIX. */
81 #undef _MINIX
83 /* Define to `int' if <sys/types.h> doesn't define. */
84 #undef mode_t
86 /* Define to `long' if <sys/types.h> doesn't define. */
87 #undef off_t
89 /* Define to `int' if <sys/types.h> doesn't define. */
90 #undef pid_t
92 /* Define if the system does not provide POSIX.1 features except
93 with this defined. */
94 #undef _POSIX_1_SOURCE
96 /* Define if you need to in order for stat and other things to work. */
97 #undef _POSIX_SOURCE
99 /* Define as the return type of signal handlers (int or void). */
100 #define RETSIGTYPE void
102 /* Define to `unsigned' if <sys/types.h> doesn't define. */
103 #undef size_t
105 /* Define if you have the ANSI C header files. */
106 #define STDC_HEADERS 1
108 /* Define if you can safely include both <sys/time.h> and <time.h>. */
109 #undef TIME_WITH_SYS_TIME
111 /* Define if your <sys/time.h> declares struct tm. */
112 #undef TM_IN_SYS_TIME
114 /* Define to `int' if <sys/types.h> doesn't define. */
115 #undef uid_t
117 /* Define if your processor stores words with the most significant
118 byte first (like Motorola and SPARC, unlike Intel and VAX). */
119 #define WORDS_BIGENDIAN 1
121 /* Define if your <unistd.h> contains bad prototypes for exec*()
122 (as it does on SGI IRIX 4.x) */
123 #undef BAD_EXEC_PROTOTYPES
125 /* Define if your compiler botches static forward declarations */
126 #define BAD_STATIC_FORWARD
128 /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
129 and you want support for AIX C++ shared extension modules. */
130 #undef AIX_GENUINE_CPLUSPLUS
132 /* Define this if you have BeOS threads */
133 #undef BEOS_THREADS
135 /* Define if you have the Mach cthreads package */
136 #undef C_THREADS
138 /* Define to `long' if <time.h> doesn't define. */
139 #undef clock_t
141 /* Used for BeOS configuration */
142 #undef DL_EXPORT_HEADER
143 #ifdef DL_EXPORT_HEADER
144 #include DL_EXPORT_HEADER
145 #endif
147 /* Define if getpgrp() must be called as getpgrp(0). */
148 #undef GETPGRP_HAVE_ARG
150 /* Define if gettimeofday() does not have second (timezone) argument
151 This is the case on Motorola V4 (R40V4.2) */
152 #undef GETTIMEOFDAY_NO_TZ
154 /* Define this if your time.h defines altzone */
155 #undef HAVE_ALTZONE
157 /* Define this if you have gethostbyname() */
158 #undef HAVE_GETHOSTBYNAME
160 /* Define this if you have some version of gethostbyname_r() */
161 #undef HAVE_GETHOSTBYNAME_R
163 /* Define this if you have the 3-arg version of gethostbyname_r() */
164 #undef HAVE_GETHOSTBYNAME_R_3_ARG
166 /* Define this if you have the 5-arg version of gethostbyname_r() */
167 #undef HAVE_GETHOSTBYNAME_R_5_ARG
169 /* Define this if you have the 6-arg version of gethostbyname_r() */
170 #undef HAVE_GETHOSTBYNAME_R_6_ARG
172 /* Define this if you have the type long long */
173 #undef HAVE_LONG_LONG
175 /* Define this if you have a K&R style C preprocessor */
176 #undef HAVE_OLD_CPP
178 /* Define if your compiler supports function prototypes */
179 #define HAVE_PROTOTYPES 1
181 /* Define if your compiler supports variable length function prototypes
182 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
183 #define HAVE_STDARG_PROTOTYPES
185 /* Define if malloc(0) returns a NULL pointer */
186 #ifdef USE_MSL_MALLOC
187 #define MALLOC_ZERO_RETURNS_NULL
188 #else
189 #undef MALLOC_ZERO_RETURNS_NULL
190 #endif
192 /* Define if you have POSIX threads */
193 #ifdef USE_GUSI2
194 #define _POSIX_THREADS
195 #endif
197 /* Define to force use of thread-safe errno, h_errno, and other functions */
198 #undef _REENTRANT
200 /* Define if setpgrp() must be called as setpgrp(0, 0). */
201 #undef SETPGRP_HAVE_ARG
203 /* Define to empty if the keyword does not work. */
204 #undef signed
206 /* Define if you can safely include both <sys/select.h> and <sys/time.h>
207 (which you can't on SCO ODT 3.0). */
208 #undef SYS_SELECT_WITH_SYS_TIME
210 /* Define if a va_list is an array of some kind */
211 #undef VA_LIST_IS_ARRAY
213 /* Define to empty if the keyword does not work. */
214 #undef volatile
216 /* Define if you want SIGFPE handled (see Include/pyfpe.h). */
217 #undef WANT_SIGFPE_HANDLER
219 /* Define if the compiler provides a wchar.h header file. */
220 #undef HAVE_WCHAR_H
222 /* Define if you have a useable wchar_t type defined in wchar.h; useable
223 means wchar_t must be 16-bit unsigned type. (see
224 Include/unicodeobject.h). */
225 #undef HAVE_USABLE_WCHAR_T
227 /* Define if you want wctype.h functions to be used instead of the
228 one supplied by Python itself. (see Include/unicodectype.h). */
229 #undef WANT_WCTYPE_FUNCTIONS
231 /* Define if you want to use SGI (IRIX 4) dynamic linking.
232 This requires the "dl" library by Jack Jansen,
233 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
234 Don't bother on IRIX 5, it already has dynamic linking using SunOS
235 style shared libraries */
236 #undef WITH_SGI_DL
238 /* Define if you want to emulate SGI (IRIX 4) dynamic linking.
239 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
240 Sequent Symmetry (Dynix), and Atari ST.
241 This requires the "dl-dld" library,
242 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
243 as well as the "GNU dld" library,
244 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
245 Don't bother on SunOS 4 or 5, they already have dynamic linking using
246 shared libraries */
247 #undef WITH_DL_DLD
249 /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
250 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
251 linker (rld). Dyld is necessary to support frameworks. */
252 #undef WITH_DYLD
254 /* Define if you want to compile in rudimentary thread support */
255 /* On the Mac this is optionally defined the the mwerks_*_config.h file */
256 /* #undef WITH_THREAD */
258 /* Define if you want to produce an OpenStep/Rhapsody framework
259 (shared library plus accessory files). */
260 #undef WITH_NEXT_FRAMEWORK
262 /* The number of bytes in an off_t. */
263 #undef SIZEOF_OFF_T
265 /* Defined to enable large file support when an off_t is bigger than a long
266 and long long is available and at least as big as an off_t. You may need
267 to add some flags for configuration and compilation to enable this mode.
268 E.g, for Solaris 2.7:
269 CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
270 configure
272 #undef HAVE_LARGEFILE_SUPPORT
274 /* Defined when any dynamic module loading is enabled */
275 #ifndef HAVE_DYNAMIC_LOADING
276 #undef HAVE_DYNAMIC_LOADING
277 #endif
279 /* The number of bytes in a char. */
280 #define SIZEOF_CHAR 1
282 /* The number of bytes in a double. */
283 #define SIZEOF_DOUBLE 8
285 /* The number of bytes in a float. */
286 #define SIZEOF_FLOAT 4
288 /* The number of bytes in a int. */
289 #define SIZEOF_INT 4
291 /* The number of bytes in a long. */
292 #define SIZEOF_LONG 4
294 /* The number of bytes in a long long. */
295 #undef SIZEOF_LONG_LONG
297 /* The number of bytes in a short. */
298 #define SIZEOF_SHORT 2
300 /* The number of bytes in a void *. */
301 #define SIZEOF_VOID_P 4
303 /* Define if you have the alarm function. */
304 #undef HAVE_ALARM
306 /* Define if you have the chown function. */
307 #undef HAVE_CHOWN
309 /* Define if you have clock. */
310 #define HAVE_CLOCK
312 /* Define if you have the confstr function. */
313 #undef HAVE_CONFSTR
315 /* Define if you have the ctermid function. */
316 #undef HAVE_CTERMID
318 /* Define if you have the ctermid_r function. */
319 #undef HAVE_CTERMID_R
321 /* Define if you have the dlopen function. */
322 #undef HAVE_DLOPEN
324 /* Define if you have the dup2 function. */
325 #undef HAVE_DUP2
327 /* Define if you have the execv function. */
328 #undef HAVE_EXECV
330 /* Define if you have the fdatasync function. */
331 #undef HAVE_FDATASYNC
333 /* Define if you have the flock function. */
334 #undef HAVE_FLOCK
336 /* Define if you have the fork function. */
337 #undef HAVE_FORK
339 /* Define if you have the fpathconf function. */
340 #undef HAVE_FPATHCONF
342 /* Define if you have the fseek64 function. */
343 #undef HAVE_FSEEK64
345 /* Define if you have the fseeko function. */
346 #undef HAVE_FSEEKO
348 /* Define if you have the fstatvfs function. */
349 #undef HAVE_FSTATVFS
351 /* Define if you have the fsync function. */
352 #define HAVE_FSYNC
354 /* Define if you have the ftell64 function. */
355 #undef HAVE_FTELL64
357 /* Define if you have the ftello function. */
358 #undef HAVE_FTELLO
360 /* Define if you have the ftime function. */
361 #undef HAVE_FTIME
363 /* Define if you have the ftruncate function. */
364 #ifdef USE_GUSI
365 #define HAVE_FTRUNCATE
366 #endif
368 /* Define if you have the getcwd function. */
369 #define HAVE_GETCWD
371 /* Define if you have the getgroups function. */
372 #undef HAVE_GETGROUPS
374 /* Define if you have the getlogin function. */
375 #undef HAVE_GETLOGIN
377 /* Define if you have the getpeername function. */
378 #ifdef USE_GUSI
379 #define HAVE_GETPEERNAME
380 #endif
382 /* Define if you have getpgrp. */
383 #undef HAVE_GETPGRP
385 /* Define if you have the getpid function. */
386 #undef HAVE_GETPID
388 /* Define if you have the getpwent function. */
389 #undef HAVE_GETPWENT
391 /* Define if you have the gettimeofday function. */
392 #ifdef USE_GUSI
393 #define HAVE_GETTIMEOFDAY
394 #endif
396 /* Define if you have the getwd function. */
397 #undef HAVE_GETWD
399 /* Define if you have the hypot function. */
400 #ifndef __MC68K__
401 /* 68K hypot definition (and implementation) are unuseable
402 ** because they use 10-byte floats.
404 #define HAVE_HYPOT
405 #endif
407 /* Define if you have the kill function. */
408 #undef HAVE_KILL
410 /* Define if you have the link function. */
411 #undef HAVE_LINK
413 /* Define if you have the lstat function. */
414 #undef HAVE_LSTAT
416 /* Define if you have the memmove function. */
417 #define HAVE_MEMMOVE
419 /* Define if you have the mkfifo function. */
420 #undef HAVE_MKFIFO
422 /* Define if you have the mktime function. */
423 #define HAVE_MKTIME
425 /* Define if you have the nice function. */
426 #undef HAVE_NICE
428 /* Define if you have the pathconf function. */
429 #undef HAVE_PATHCONF
431 /* Define if you have the pause function. */
432 #undef HAVE_PAUSE
434 /* Define if you have the plock function. */
435 /* XXXX GUSI threads* */
436 #undef HAVE_PLOCK
438 /* Define if you have the pthread_init function. */
439 /* XXXX GUSI threads* */
440 #undef HAVE_PTHREAD_INIT
442 /* Define if you have the putenv function. */
443 #undef HAVE_PUTENV
445 /* Define if you have the readlink function. */
446 #undef HAVE_READLINK
448 /* Define if you have the select function. */
449 #ifdef USE_GUSI
450 #define HAVE_SELECT
451 #endif
453 /* Define if you have the setgid function. */
454 #undef HAVE_SETGID
456 /* Define if you have the setlocale function. */
457 #undef HAVE_SETLOCALE
459 /* Define if you have the setpgid function. */
460 #undef HAVE_SETPGID
462 /* Define if you have the setpgrp function. */
463 #undef HAVE_SETPGRP
465 /* Define if you have the setsid function. */
466 #undef HAVE_SETSID
468 /* Define if you have the setuid function. */
469 #undef HAVE_SETUID
471 /* Define if you have the setvbuf function. */
472 #define HAVE_SETVBUF
474 /* Define if you have the sigaction function. */
475 #undef HAVE_SIGACTION
477 /* Define if you have the siginterrupt function. */
478 #undef HAVE_SIGINTERRUPT
480 /* Define if you have the sigrelse function. */
481 #undef HAVE_SIGRELSE
483 /* Define if you have the statvfs function. */
484 #undef HAVE_STATVFS
486 /* Define if you have the strdup function. */
487 #undef HAVE_STRDUP
489 /* Define if you have the strerror function. */
490 #define HAVE_STRERROR
492 /* Define if you have the strftime function. */
493 #define HAVE_STRFTIME
495 /* Define if you have the strptime function. */
496 #undef HAVE_STRPTIME
498 /* Define if you have the symlink function. */
499 #undef HAVE_SYMLINK
501 /* Define if you have the sysconf function. */
502 #undef HAVE_SYSCONF
504 /* Define if you have the tcgetpgrp function. */
505 #undef HAVE_TCGETPGRP
507 /* Define if you have the tcsetpgrp function. */
508 #undef HAVE_TCSETPGRP
510 /* Define if you have the tempnam function. */
511 #undef HAVE_TEMPNAM
513 /* Define if you have the timegm function. */
514 #undef HAVE_TIMEGM
516 /* Define if you have the times function. */
517 #undef HAVE_TIMES
519 /* Define if you have the tmpfile function. */
520 #define HAVE_TMPFILE
522 /* Define if you have the tmpnam function. */
523 #define HAVE_TMPNAM
525 /* Define if you have the tmpnam_r function. */
526 #undef HAVE_TMPNAM_R
528 /* Define if you have the truncate function. */
529 #define HAVE_TRUNCATE
531 /* Define if you have the uname function. */
532 #undef HAVE_UNAME
534 /* Define if you have the waitpid function. */
535 #undef HAVE_WAITPID
537 /* Define if you have the <dirent.h> header file. */
538 #ifdef USE_GUSI
539 #define HAVE_DIRENT_H
540 #endif
542 /* Define if you have the <dlfcn.h> header file. */
543 #undef HAVE_DLFCN_H
545 /* Define if you have the <fcntl.h> header file. */
546 #define HAVE_FCNTL_H
548 /* Define if you have the <limits.h> header file. */
549 #define HAVE_LIMITS_H
551 /* Define if you have the <locale.h> header file. */
552 #define HAVE_LOCALE_H
554 /* Define if you have the <ncurses.h> header file. */
555 #undef HAVE_NCURSES_H
557 /* Define if you have the <ndir.h> header file. */
558 #undef HAVE_NDIR_H
560 /* Define if you have the <pthread.h> header file. */
561 #ifdef USE_GUSI2
562 #define HAVE_PTHREAD_H
563 #endif
565 /* Define if you have the <signal.h> header file. */
566 #define HAVE_SIGNAL_H
568 /* Define if you have the <stdarg.h> header file. */
569 #define HAVE_STDARG_H
571 /* Define if you have the <stddef.h> header file. */
572 #define HAVE_STDDEF_H
574 /* Define if you have the <stdlib.h> header file. */
575 #define HAVE_STDLIB_H
577 /* Define if you have the <sys/audioio.h> header file. */
578 #undef HAVE_SYS_AUDIOIO_H
580 /* Define if you have the <sys/dir.h> header file. */
581 #undef HAVE_SYS_DIR_H
583 /* Define if you have the <sys/file.h> header file. */
584 #undef HAVE_SYS_FILE_H
586 /* Define if you have the <sys/lock.h> header file. */
587 #undef HAVE_SYS_LOCK_H
589 /* Define if you have the <sys/ndir.h> header file. */
590 #undef HAVE_SYS_NDIR_H
592 /* Define if you have the <sys/param.h> header file. */
593 #undef HAVE_SYS_PARAM_H
595 /* Define if you have the <sys/select.h> header file. */
596 #undef HAVE_SYS_SELECT_H
598 /* Define if you have the <sys/time.h> header file. */
599 #ifdef USE_GUSI
600 #define HAVE_SYS_TIME_H
601 #endif
603 /* Define if you have the <sys/times.h> header file. */
604 #undef HAVE_SYS_TIMES_H
606 /* Define if you have the <sys/un.h> header file. */
607 #undef HAVE_SYS_UN_H
609 /* Define if you have the <sys/utsname.h> header file. */
610 #undef HAVE_SYS_UTSNAME_H
612 /* Define if you have the <sys/wait.h> header file. */
613 #undef HAVE_SYS_WAIT_H
615 /* Define if you have the <thread.h> header file. */
616 #undef HAVE_THREAD_H
618 /* Define if you have the <unistd.h> header file. */
619 #define HAVE_UNISTD_H
621 /* Define if you have the <utime.h> header file. */
622 #define HAVE_UTIME_H
624 /* Define if you have the dl library (-ldl). */
625 #undef HAVE_LIBDL
627 /* Define if you have the dld library (-ldld). */
628 #undef HAVE_LIBDLD
630 /* Define if you have the ieee library (-lieee). */
631 #undef HAVE_LIBIEEE