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