Changeset 388 for python/vendor/current/PC/pyconfig.h
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/PC/pyconfig.h
r2 r388 96 96 97 97 #ifdef MS_WINCE 98 /* Python uses GetVersion() to distinguish between99 * Windows NT and 9x/ME where OS Unicode support is concerned.100 * Windows CE supports Unicode in the same way as NT so we101 * define the missing GetVersion() accordingly.102 */103 #define GetVersion() (4)104 98 /* Windows CE does not support environment variables */ 105 99 #define getenv(v) (NULL) … … 330 324 taken care of by distutils.) */ 331 325 # ifdef _DEBUG 332 # pragma comment(lib,"python2 6_d.lib")326 # pragma comment(lib,"python27_d.lib") 333 327 # else 334 # pragma comment(lib,"python2 6.lib")328 # pragma comment(lib,"python27.lib") 335 329 # endif /* _DEBUG */ 336 330 # endif /* _MSC_VER */ … … 349 343 # define SIZEOF_HKEY 8 350 344 # define SIZEOF_SIZE_T 8 351 /* configure. indefines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,345 /* configure.ac defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG, 352 346 sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t). 353 347 On Win64 the second condition is not true, but if fpos_t replaces off_t … … 401 395 #endif 402 396 397 /* define signed and unsigned exact-width 32-bit and 64-bit types, used in the 398 implementation of Python long integers. */ 399 #ifndef PY_UINT32_T 400 #if SIZEOF_INT == 4 401 #define HAVE_UINT32_T 1 402 #define PY_UINT32_T unsigned int 403 #elif SIZEOF_LONG == 4 404 #define HAVE_UINT32_T 1 405 #define PY_UINT32_T unsigned long 406 #endif 407 #endif 408 409 #ifndef PY_UINT64_T 410 #if SIZEOF_LONG_LONG == 8 411 #define HAVE_UINT64_T 1 412 #define PY_UINT64_T unsigned PY_LONG_LONG 413 #endif 414 #endif 415 416 #ifndef PY_INT32_T 417 #if SIZEOF_INT == 4 418 #define HAVE_INT32_T 1 419 #define PY_INT32_T int 420 #elif SIZEOF_LONG == 4 421 #define HAVE_INT32_T 1 422 #define PY_INT32_T long 423 #endif 424 #endif 425 426 #ifndef PY_INT64_T 427 #if SIZEOF_LONG_LONG == 8 428 #define HAVE_INT64_T 1 429 #define PY_INT64_T PY_LONG_LONG 430 #endif 431 #endif 432 403 433 /* Fairly standard from here! */ 404 434 … … 530 560 #define Py_UNICODE_SIZE 2 531 561 532 /* Define to indicate that the Python Unicode representation can be passed533 as-is to Win32 Wide API. */534 #define Py_WIN_WIDE_FILENAMES535 536 562 /* Use Python's own small-block memory-allocator. */ 537 563 #define WITH_PYMALLOC 1 … … 617 643 #define HAVE_WCSCOLL 1 618 644 #endif 645 646 /* Define if the zlib library has inflateCopy */ 647 #define HAVE_ZLIB_COPY 1 619 648 620 649 /* Define if you have the <dlfcn.h> header file. */ … … 724 753 #define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE 725 754 755 /* Define if C doubles are 64-bit IEEE 754 binary format, stored with the 756 least significant byte first */ 757 #define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1 758 726 759 #endif /* !Py_CONFIG_H */
Note:
See TracChangeset
for help on using the changeset viewer.