Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/PC/pyconfig.h

    r2 r388  
    9696
    9797#ifdef MS_WINCE
    98 /* Python uses GetVersion() to distinguish between
    99  * Windows NT and 9x/ME where OS Unicode support is concerned.
    100  * Windows CE supports Unicode in the same way as NT so we
    101  * define the missing GetVersion() accordingly.
    102  */
    103 #define GetVersion() (4)
    10498/* Windows CE does not support environment variables */
    10599#define getenv(v) (NULL)
     
    330324                        taken care of by distutils.) */
    331325#                       ifdef _DEBUG
    332 #                               pragma comment(lib,"python26_d.lib")
     326#                               pragma comment(lib,"python27_d.lib")
    333327#                       else
    334 #                               pragma comment(lib,"python26.lib")
     328#                               pragma comment(lib,"python27.lib")
    335329#                       endif /* _DEBUG */
    336330#               endif /* _MSC_VER */
     
    349343#       define SIZEOF_HKEY 8
    350344#       define SIZEOF_SIZE_T 8
    351 /* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
     345/* configure.ac defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
    352346   sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
    353347   On Win64 the second condition is not true, but if fpos_t replaces off_t
     
    401395#endif
    402396
     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
    403433/* Fairly standard from here! */
    404434
     
    530560#define Py_UNICODE_SIZE 2
    531561
    532 /* Define to indicate that the Python Unicode representation can be passed
    533    as-is to Win32 Wide API.  */
    534 #define Py_WIN_WIDE_FILENAMES
    535 
    536562/* Use Python's own small-block memory-allocator. */
    537563#define WITH_PYMALLOC 1
     
    617643#define HAVE_WCSCOLL 1
    618644#endif
     645
     646/* Define if the zlib library has inflateCopy */
     647#define HAVE_ZLIB_COPY 1
    619648
    620649/* Define if you have the <dlfcn.h> header file.  */
     
    724753#define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE
    725754
     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
    726759#endif /* !Py_CONFIG_H */
Note: See TracChangeset for help on using the changeset viewer.