Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 1 | /* Leave this blank line here -- autoheader needs it! */ |
| 2 | |
| 3 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 4 | /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r |
| 5 | and you want support for AIX C++ shared extension modules. */ |
| 6 | #undef AIX_GENUINE_CPLUSPLUS |
| 7 | |
Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 8 | /* Define if your <unistd.h> contains bad prototypes for exec*() |
| 9 | (as it does on SGI IRIX 4.x) */ |
| 10 | #undef BAD_EXEC_PROTOTYPES |
| 11 | |
Guido van Rossum | 2712c16 | 1994-01-11 12:00:38 +0000 | [diff] [blame] | 12 | /* Define if your compiler botches static forward declarations |
| 13 | (as it does on SCI ODT 3.0) */ |
| 14 | #undef BAD_STATIC_FORWARD |
| 15 | |
Guido van Rossum | 2522136 | 1998-10-02 14:41:38 +0000 | [diff] [blame] | 16 | /* Define this if you have BeOS threads */ |
| 17 | #undef BEOS_THREADS |
| 18 | |
Guido van Rossum | 94d46d5 | 1996-07-30 18:05:21 +0000 | [diff] [blame] | 19 | /* Define if you have the Mach cthreads package */ |
| 20 | #undef C_THREADS |
| 21 | |
Guido van Rossum | 32d8ba4 | 1994-07-01 15:28:52 +0000 | [diff] [blame] | 22 | /* Define to `long' if <time.h> doesn't define. */ |
| 23 | #undef clock_t |
| 24 | |
Martin v. Löwis | e8964d4 | 2001-03-06 12:09:07 +0000 | [diff] [blame] | 25 | /* Defined on Solaris to see additional function prototypes. */ |
| 26 | #undef __EXTENSIONS__ |
| 27 | |
Guido van Rossum | 2bcafeb | 1994-10-20 22:06:56 +0000 | [diff] [blame] | 28 | /* Define if getpgrp() must be called as getpgrp(0). */ |
Guido van Rossum | 0039f51 | 1994-06-23 12:17:51 +0000 | [diff] [blame] | 29 | #undef GETPGRP_HAVE_ARG |
Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 30 | |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 31 | /* Define if gettimeofday() does not have second (timezone) argument |
| 32 | This is the case on Motorola V4 (R40V4.2) */ |
| 33 | #undef GETTIMEOFDAY_NO_TZ |
Guido van Rossum | 2bcafeb | 1994-10-20 22:06:56 +0000 | [diff] [blame] | 34 | |
Guido van Rossum | 4c627be | 1994-01-13 15:47:04 +0000 | [diff] [blame] | 35 | /* Define this if your time.h defines altzone */ |
| 36 | #undef HAVE_ALTZONE |
| 37 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 38 | /* Defined when any dynamic module loading is enabled */ |
| 39 | #undef HAVE_DYNAMIC_LOADING |
| 40 | |
Guido van Rossum | cadfaec | 2001-01-05 14:45:49 +0000 | [diff] [blame] | 41 | /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */ |
| 42 | #undef HAVE_GETC_UNLOCKED |
| 43 | |
Guido van Rossum | 7152e9b | 1999-03-22 21:46:06 +0000 | [diff] [blame] | 44 | /* Define this if you have gethostbyname() */ |
Guido van Rossum | c6f6df3 | 1999-12-16 17:49:02 +0000 | [diff] [blame] | 45 | #undef HAVE_GETHOSTBYNAME |
Guido van Rossum | 7152e9b | 1999-03-22 21:46:06 +0000 | [diff] [blame] | 46 | |
| 47 | /* Define this if you have some version of gethostbyname_r() */ |
| 48 | #undef HAVE_GETHOSTBYNAME_R |
| 49 | |
| 50 | /* Define this if you have the 3-arg version of gethostbyname_r() */ |
| 51 | #undef HAVE_GETHOSTBYNAME_R_3_ARG |
| 52 | |
| 53 | /* Define this if you have the 5-arg version of gethostbyname_r() */ |
| 54 | #undef HAVE_GETHOSTBYNAME_R_5_ARG |
| 55 | |
| 56 | /* Define this if you have the 6-arg version of gethostbyname_r() */ |
| 57 | #undef HAVE_GETHOSTBYNAME_R_6_ARG |
| 58 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 59 | /* Defined to enable large file support when an off_t is bigger than a long |
| 60 | and long long is available and at least as big as an off_t. You may need |
| 61 | to add some flags for configuration and compilation to enable this mode. |
| 62 | E.g, for Solaris 2.7: |
| 63 | CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \ |
| 64 | configure |
| 65 | */ |
| 66 | #undef HAVE_LARGEFILE_SUPPORT |
| 67 | |
Guido van Rossum | 2522136 | 1998-10-02 14:41:38 +0000 | [diff] [blame] | 68 | /* Define this if you have the type long long */ |
| 69 | #undef HAVE_LONG_LONG |
| 70 | |
Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 71 | /* Define if your compiler supports function prototypes */ |
| 72 | #undef HAVE_PROTOTYPES |
| 73 | |
Guido van Rossum | 9e8181b | 2000-09-19 00:46:46 +0000 | [diff] [blame] | 74 | /* Define if you have GNU PTH threads */ |
| 75 | #undef HAVE_PTH |
| 76 | |
Guido van Rossum | aff6906 | 1994-02-15 15:52:14 +0000 | [diff] [blame] | 77 | /* Define if your compiler supports variable length function prototypes |
| 78 | (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ |
| 79 | #undef HAVE_STDARG_PROTOTYPES |
| 80 | |
Eric S. Raymond | 1360359 | 2001-01-16 15:01:26 +0000 | [diff] [blame] | 81 | /* Define if you have termios available */ |
| 82 | #undef HAVE_TERMIOS_H |
| 83 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 84 | /* Define this if you have the type uintptr_t */ |
| 85 | #undef HAVE_UINTPTR_T |
| 86 | |
| 87 | /* Define if you have a useable wchar_t type defined in wchar.h; useable |
| 88 | means wchar_t must be 16-bit unsigned type. (see |
| 89 | Include/unicodeobject.h). */ |
| 90 | #undef HAVE_USABLE_WCHAR_T |
| 91 | |
| 92 | /* Define if the compiler provides a wchar.h header file. */ |
| 93 | #undef HAVE_WCHAR_H |
| 94 | |
Guido van Rossum | 443389f | 1997-07-10 22:43:05 +0000 | [diff] [blame] | 95 | /* Define if malloc(0) returns a NULL pointer */ |
| 96 | #undef MALLOC_ZERO_RETURNS_NULL |
| 97 | |
Guido van Rossum | c5832ff | 1994-05-09 15:10:49 +0000 | [diff] [blame] | 98 | /* Define if you have POSIX threads */ |
| 99 | #undef _POSIX_THREADS |
| 100 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 101 | /* Define if you want to build an interpreter with many run-time checks */ |
| 102 | #undef Py_DEBUG |
| 103 | |
Guido van Rossum | 93ee6e0 | 1996-07-31 17:35:30 +0000 | [diff] [blame] | 104 | /* Define to force use of thread-safe errno, h_errno, and other functions */ |
| 105 | #undef _REENTRANT |
| 106 | |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 107 | /* Define if setpgrp() must be called as setpgrp(0, 0). */ |
| 108 | #undef SETPGRP_HAVE_ARG |
| 109 | |
Guido van Rossum | aff6906 | 1994-02-15 15:52:14 +0000 | [diff] [blame] | 110 | /* Define to empty if the keyword does not work. */ |
| 111 | #undef signed |
| 112 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 113 | /* Define if i>>j for signed int i does not extend the sign bit |
| 114 | when i < 0 |
| 115 | */ |
| 116 | #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS |
| 117 | |
| 118 | /* The number of bytes in an off_t. */ |
| 119 | #undef SIZEOF_OFF_T |
| 120 | |
| 121 | /* The number of bytes in a time_t. */ |
| 122 | #undef SIZEOF_TIME_T |
| 123 | |
| 124 | /* The number of bytes in a pthread_t. */ |
| 125 | #undef SIZEOF_PTHREAD_T |
| 126 | |
Guido van Rossum | 2522136 | 1998-10-02 14:41:38 +0000 | [diff] [blame] | 127 | /* sizeof(void *) */ |
| 128 | #undef SIZEOF_VOID_P |
| 129 | |
Guido van Rossum | 59903fe | 2000-04-24 15:12:04 +0000 | [diff] [blame] | 130 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 131 | #undef socklen_t |
| 132 | |
Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 133 | /* Define for SOLARIS 2.x */ |
| 134 | #undef SOLARIS |
| 135 | |
Guido van Rossum | f1009e8 | 1994-01-04 23:29:10 +0000 | [diff] [blame] | 136 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 137 | (which you can't on SCO ODT 3.0). */ |
Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 138 | #undef SYS_SELECT_WITH_SYS_TIME |
| 139 | |
Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 140 | /* Define if a va_list is an array of some kind */ |
| 141 | #undef VA_LIST_IS_ARRAY |
| 142 | |
| 143 | /* Define to empty if the keyword does not work. */ |
| 144 | #undef volatile |
| 145 | |
Guido van Rossum | 7a24c37 | 1997-05-09 02:41:10 +0000 | [diff] [blame] | 146 | /* Define if you want SIGFPE handled (see Include/pyfpe.h). */ |
| 147 | #undef WANT_SIGFPE_HANDLER |
| 148 | |
Guido van Rossum | ef2255b | 2000-03-10 22:30:29 +0000 | [diff] [blame] | 149 | /* Define if you want wctype.h functions to be used instead of the |
| 150 | one supplied by Python itself. (see Include/unicodectype.h). */ |
| 151 | #undef WANT_WCTYPE_FUNCTIONS |
| 152 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 153 | /* Define if you want to compile in cycle garbage collection */ |
| 154 | #undef WITH_CYCLE_GC |
Guido van Rossum | 2712c16 | 1994-01-11 12:00:38 +0000 | [diff] [blame] | 155 | |
| 156 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
| 157 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
| 158 | Sequent Symmetry (Dynix), and Atari ST. |
| 159 | This requires the "dl-dld" library, |
| 160 | ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
| 161 | as well as the "GNU dld" library, |
| 162 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
| 163 | Don't bother on SunOS 4 or 5, they already have dynamic linking using |
| 164 | shared libraries */ |
| 165 | #undef WITH_DL_DLD |
| 166 | |
Guido van Rossum | 54ecc3d | 1999-01-27 17:53:11 +0000 | [diff] [blame] | 167 | /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) |
| 168 | dynamic linker (dyld) instead of the old-style (NextStep) dynamic |
| 169 | linker (rld). Dyld is necessary to support frameworks. */ |
| 170 | #undef WITH_DYLD |
| 171 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 172 | /* Define if you want to use BSD db. */ |
| 173 | #undef WITH_LIBDB |
Barry Warsaw | cf053b1 | 2000-06-30 16:02:58 +0000 | [diff] [blame] | 174 | |
Eric S. Raymond | 1360359 | 2001-01-16 15:01:26 +0000 | [diff] [blame] | 175 | /* Define if you want to use ndbm. */ |
| 176 | #undef WITH_LIBNDBM |
| 177 | |
Neil Schemenauer | a35c688 | 2001-02-27 04:45:05 +0000 | [diff] [blame] | 178 | /* Define if you want to compile in Python-specific mallocs */ |
| 179 | #undef WITH_PYMALLOC |
| 180 | |
Guido van Rossum | 54ecc3d | 1999-01-27 17:53:11 +0000 | [diff] [blame] | 181 | /* Define if you want to produce an OpenStep/Rhapsody framework |
| 182 | (shared library plus accessory files). */ |
| 183 | #undef WITH_NEXT_FRAMEWORK |
| 184 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 185 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
| 186 | This requires the "dl" library by Jack Jansen, |
| 187 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
| 188 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
| 189 | style shared libraries */ |
| 190 | #undef WITH_SGI_DL |
Fred Drake | c9cb847 | 2000-08-31 16:11:07 +0000 | [diff] [blame] | 191 | |
Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 192 | /* Define if you want to compile in rudimentary thread support */ |
| 193 | #undef WITH_THREAD |
Tim Peters | 7d3a511 | 2000-07-08 04:17:21 +0000 | [diff] [blame] | 194 | |
Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 195 | |
| 196 | /* Leave that blank line there-- autoheader needs it! */ |
Guido van Rossum | aef734b | 2001-01-10 21:09:12 +0000 | [diff] [blame] | 197 | |
| 198 | @BOTTOM@ |
| 199 | |
| 200 | #ifdef __CYGWIN__ |
| 201 | #ifdef USE_DL_IMPORT |
| 202 | #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE |
| 203 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE |
| 204 | #else |
| 205 | #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE |
| 206 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE |
| 207 | #endif |
| 208 | #endif |