cpython/Mac/Include/config.h

337 lines
8.5 KiB
C
Raw Normal View History

/* config.h for Macintosh THINK C 6.0, CodeWarrior 4 and MPW 3.2. */
#ifdef applec
#define MPW
#endif
1994-01-05 12:17:15 -04:00
1995-01-18 09:56:20 -04:00
/* Define if on Macintosh (THINK_C, MPW or __MWERKS__ should also be defined) */
#ifndef macintosh
1994-01-05 12:17:15 -04:00
#define macintosh
#endif
1994-01-05 12:17:15 -04:00
1995-01-18 19:59:06 -04:00
#ifdef THINK_C
#define HAVE_FOPENRF
#endif
1995-08-07 11:03:14 -03:00
#ifdef __MWERKS__
1996-02-14 12:02:30 -04:00
#ifndef USE_GUSI
1995-08-07 11:03:14 -03:00
#define HAVE_FOPENRF
#endif
1996-02-14 12:02:30 -04:00
#endif
#ifdef USE_GUSI
/* GUSI provides a lot of unixisms */
#define HAVE_SELECT
#define DIRENT
#define HAVE_GETPEERNAME
#define HAVE_SELECT
#define HAVE_FCNTL_H
#define HAVE_SYS_TIME_H
#define HAVE_UNISTD_H
#endif
1995-01-18 19:59:06 -04:00
#ifdef SYMANTEC__CFM68K__
1995-02-19 11:49:39 -04:00
#define atof Py_AtoF
#define strtod Py_StrToD
#endif
1994-01-05 12:17:15 -04:00
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _ALL_SOURCE
/* #undef _ALL_SOURCE */
1994-01-05 12:17:15 -04:00
#endif
/* Define if type char is unsigned and you are not using gcc. */
/* #undef __CHAR_UNSIGNED__ */
1994-01-05 12:17:15 -04:00
/* Define to empty if the keyword does not work. */
/* #undef const */
1994-01-05 12:17:15 -04:00
/* Define if you have dirent.h. */
/* #undef DIRENT */
1994-01-05 12:17:15 -04:00
/* Define to the type of elements in the array set by `getgroups'.
Usually this is either `int' or `gid_t'. */
/* #undef GETGROUPS_T */
1994-01-05 12:17:15 -04:00
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */
1994-01-05 12:17:15 -04:00
/* Define if your struct tm has tm_zone. */
/* #undef HAVE_TM_ZONE */
1994-01-05 12:17:15 -04:00
/* Define if you don't have tm_zone but do have the external array
tzname. */
/* #undef HAVE_TZNAME */
1994-01-05 12:17:15 -04:00
/* Define if on MINIX. */
/* #undef _MINIX */
1994-01-05 12:17:15 -04:00
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef mode_t */
1994-01-05 12:17:15 -04:00
/* Define if you don't have dirent.h, but have ndir.h. */
/* #undef NDIR */
1994-01-05 12:17:15 -04:00
/* Define to `long' if <sys/types.h> doesn't define. */
/* #undef off_t */
1994-01-05 12:17:15 -04:00
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef pid_t */
1994-01-05 12:17:15 -04:00
/* Define if the system does not provide POSIX.1 features except
with this defined. */
/* #undef _POSIX_1_SOURCE */
1994-01-05 12:17:15 -04:00
/* Define if you need to in order for stat and other things to work. */
/* #undef _POSIX_SOURCE */
1994-01-05 12:17:15 -04:00
/* Define as the return type of signal handlers (int or void). */
#define RETSIGTYPE void
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
1994-01-05 12:17:15 -04:00
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS
/* Define if you don't have dirent.h, but have sys/dir.h. */
/* #undef SYSDIR */
1994-01-05 12:17:15 -04:00
/* Define if you don't have dirent.h, but have sys/ndir.h. */
/* #undef SYSNDIR */
1994-01-05 12:17:15 -04:00
/* Define if you can safely include both <sys/time.h> and <time.h>. */
/* #undef TIME_WITH_SYS_TIME */
1994-01-05 12:17:15 -04:00
/* Define if your <sys/time.h> declares struct tm. */
/* #undef TM_IN_SYS_TIME */
1994-01-05 12:17:15 -04:00
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */
1994-01-05 12:17:15 -04:00
/* Define if the closedir function returns void instead of int. */
/* #undef VOID_CLOSEDIR */
1994-01-05 12:17:15 -04:00
/* Define if your <unistd.h> contains bad prototypes for exec*()
(as it does on SGI IRIX 4.x) */
/* #undef BAD_EXEC_PROTOTYPES */
1994-01-05 12:17:15 -04:00
/* Define if your compiler botches static forward declarations */
#ifdef __MWERKS__
#define BAD_STATIC_FORWARD
#endif
#ifdef __SC__
#define BAD_STATIC_FORWARD
#endif
/* Define to `long' if <time.h> doesn't define. */
/* #undef clock_t */
1994-01-05 12:17:15 -04:00
/* Define if getpgrp() must be called as getpgrp(0)
and (consequently) setpgrp() as setpgrp(0, 0). */
/* #undef GETPGRP_HAVE_ARG */
/* Define this if your time.h defines altzone */
/* #undef HAVE_ALTZONE */
1994-01-05 12:17:15 -04:00
/* Define if your compiler supports function prototypes */
#define HAVE_PROTOTYPES
/* Define if your compiler supports variable length function prototypes
(e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
#define HAVE_STDARG_PROTOTYPES
/* Define if you have POSIX threads */
/* #undef _POSIX_THREADS */
/* Define to empty if the keyword does not work. */
/* #undef signed */
1994-01-05 12:17:15 -04:00
/* Define if you can safely include both <sys/select.h> and <sys/time.h>
(which you can't on SCO ODT 3.0). */
/* #undef SYS_SELECT_WITH_SYS_TIME */
1994-01-05 12:17:15 -04:00
/* Define if you want to use SGI (IRIX 4) dynamic linking.
This requires the "dl" library by Jack Jansen,
ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
Don't bother on IRIX 5, it already has dynamic linking using SunOS
style shared libraries */
/* #undef WITH_SGI_DL */
/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
Sequent Symmetry (Dynix), and Atari ST.
This requires the "dl-dld" library,
ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
as well as the "GNU dld" library,
ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
Don't bother on SunOS 4 or 5, they already have dynamic linking using
shared libraries */
/* #undef WITH_DL_DLD */
1994-01-05 12:17:15 -04:00
/* Define if you want to compile in rudimentary thread support */
/* #undef WITH_THREAD */
1994-01-05 12:17:15 -04:00
/* Define if you want to use the GNU readline library */
/* #undef WITH_READLINE */
1994-01-05 12:17:15 -04:00
/* Define if you have chown. */
/* #undef HAVE_CHOWN */
1994-01-05 12:17:15 -04:00
/* Define if you have clock. */
#define HAVE_CLOCK
/* Define if you have dlopen. */
/* #undef HAVE_DLOPEN */
1994-01-05 12:17:15 -04:00
/* Define if you have ftime. */
/* #undef HAVE_FTIME */
1994-01-05 12:17:15 -04:00
/* Define if you have getpeername. */
/* #undef HAVE_GETPEERNAME */
1994-01-05 12:17:15 -04:00
/* Define if you have getpgrp. */
/* #undef HAVE_GETPGRP */
1994-01-05 12:17:15 -04:00
/* Define if you have getpid. */
/* #undef HAVE_GETPID */
1994-01-05 12:17:15 -04:00
/* Define if you have gettimeofday. */
/* #undef HAVE_GETTIMEOFDAY */
1994-01-05 12:17:15 -04:00
/* Define if you have getwd. */
/* #undef HAVE_GETWD */
1994-01-05 12:17:15 -04:00
/* Define if you have link. */
/* #undef HAVE_LINK */
1994-01-05 12:17:15 -04:00
/* Define if you have lstat. */
/* #undef HAVE_LSTAT */
1994-01-05 12:17:15 -04:00
/* Define if you have nice. */
/* #undef HAVE_NICE */
1994-01-05 12:17:15 -04:00
/* Define if you have readlink. */
/* #undef HAVE_READLINK */
1994-01-05 12:17:15 -04:00
/* Define if you have select. */
/* #undef HAVE_SELECT */
1994-01-05 12:17:15 -04:00
/* Define if you have setgid. */
/* #undef HAVE_SETGID */
1994-01-05 12:17:15 -04:00
/* Define if you have setpgid. */
/* #undef HAVE_SETPGID */
1994-01-05 12:17:15 -04:00
/* Define if you have setpgrp. */
/* #undef HAVE_SETPGRP */
1994-01-05 12:17:15 -04:00
/* Define if you have setsid. */
/* #undef HAVE_SETSID */
1994-01-05 12:17:15 -04:00
/* Define if you have setuid. */
/* #undef HAVE_SETUID */
1994-05-06 11:16:30 -03:00
/* Define if you have setvbuf. */
#define HAVE_SETVBUF
1994-05-06 11:16:30 -03:00
1994-01-05 12:17:15 -04:00
/* Define if you have siginterrupt. */
/* #undef HAVE_SIGINTERRUPT */
1994-01-05 12:17:15 -04:00
/* Define if you have symlink. */
/* #undef HAVE_SYMLINK */
1994-01-05 12:17:15 -04:00
/* Define if you have tcgetpgrp. */
/* #undef HAVE_TCGETPGRP */
1994-01-05 12:17:15 -04:00
/* Define if you have tcsetpgrp. */
/* #undef HAVE_TCSETPGRP */
1994-01-05 12:17:15 -04:00
/* Define if you have times. */
/* #undef HAVE_TIMES */
1994-01-05 12:17:15 -04:00
/* Define if you have uname. */
/* #undef HAVE_UNAME */
1994-01-05 12:17:15 -04:00
/* Define if you have waitpid. */
/* #undef HAVE_WAITPID */
1994-01-05 12:17:15 -04:00
/* Define if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <fcntl.h> header file. */
/* #undef HAVE_FCNTL_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H
1994-01-05 12:17:15 -04:00
/* Define if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H
1994-01-05 12:17:15 -04:00
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H
1994-01-05 12:17:15 -04:00
/* Define if you have the <sys/audioio.h> header file. */
/* #undef HAVE_SYS_AUDIOIO_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <sys/param.h> header file. */
/* #undef HAVE_SYS_PARAM_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <sys/select.h> header file. */
/* #undef HAVE_SYS_SELECT_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <sys/times.h> header file. */
/* #undef HAVE_SYS_TIMES_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <sys/un.h> header file. */
/* #undef HAVE_SYS_UN_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <sys/utsname.h> header file. */
/* #undef HAVE_SYS_UTSNAME_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <thread.h> header file. */
/* #undef HAVE_THREAD_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the <utime.h> header file. */
/* #undef HAVE_UTIME_H */
1994-01-05 12:17:15 -04:00
/* Define if you have the dl library (-ldl). */
/* #undef HAVE_LIBDL */
1994-01-05 12:17:15 -04:00
/* Define if you have the inet library (-linet). */
/* #undef HAVE_LIBINET */
1994-01-05 12:17:15 -04:00
/* Define if you have the mpc library (-lmpc). */
/* #undef HAVE_LIBMPC */
1994-01-05 12:17:15 -04:00
/* Define if you have the nsl library (-lnsl). */
/* #undef HAVE_LIBNSL */
1994-01-05 12:17:15 -04:00
/* Define if you have the pthreads library (-lpthreads). */
/* #undef HAVE_LIBPTHREADS */
1994-01-05 12:17:15 -04:00
/* Define if you have the seq library (-lseq). */
/* #undef HAVE_LIBSEQ */
1994-01-05 12:17:15 -04:00
/* Define if you have the socket library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
1994-01-05 12:17:15 -04:00
/* Define if you have the sun library (-lsun). */
/* #undef HAVE_LIBSUN */
1994-01-05 12:17:15 -04:00
/* Define if you have the termcap library (-ltermcap). */
/* #undef HAVE_LIBTERMCAP */
/* Define if you have the termlib library (-ltermlib). */
/* #undef HAVE_LIBTERMLIB */
1994-01-05 12:17:15 -04:00
/* Define if you have the thread library (-lthread). */
/* #undef HAVE_LIBTHREAD */