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/Include/pymacconfig.h

    r2 r388  
    55      * when building on MacOSX. This is needed for building 4-way
    66      * universal binaries and for 64-bit universal binaries because
    7       * the values redefined below aren't configure-time constant but 
     7      * the values redefined below aren't configure-time constant but
    88      * only compile-time constant in these scenarios.
    99      */
     
    1717# undef SIZEOF_VOID_P
    1818# undef SIZEOF__BOOL
     19# undef SIZEOF_UINTPTR_T
     20# undef SIZEOF_PTHREAD_T
    1921# undef WORDS_BIGENDIAN
     22# undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
     23# undef DOUBLE_IS_BIG_ENDIAN_IEEE754
     24# undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754
     25# undef HAVE_GCC_ASM_FOR_X87
    2026
    2127#    undef VA_LIST_IS_ARRAY
     
    3137#    undef SIZEOF_LONG
    3238#    ifdef __LP64__
    33 #        define SIZEOF__BOOL            1
    34 #        define SIZEOF__BOOL            1
    35 #        define SIZEOF_LONG             8
    36 #        define SIZEOF_PTHREAD_T        8
    37 #        define SIZEOF_SIZE_T           8
    38 #        define SIZEOF_TIME_T           8
    39 #        define SIZEOF_VOID_P           8
     39#        define SIZEOF__BOOL            1
     40#        define SIZEOF__BOOL            1
     41#        define SIZEOF_LONG             8
     42#        define SIZEOF_PTHREAD_T        8
     43#        define SIZEOF_SIZE_T           8
     44#        define SIZEOF_TIME_T           8
     45#        define SIZEOF_VOID_P           8
     46#        define SIZEOF_UINTPTR_T        8
     47#        define SIZEOF_PTHREAD_T        8
    4048#    else
    4149#        ifdef __ppc__
    42 #           define SIZEOF__BOOL         4
     50#           define SIZEOF__BOOL         4
    4351#        else
    44 #           define SIZEOF__BOOL         1
     52#           define SIZEOF__BOOL         1
    4553#        endif
    46 #        define SIZEOF_LONG             4
    47 #        define SIZEOF_PTHREAD_T        4
    48 #        define SIZEOF_SIZE_T           4
    49 #        define SIZEOF_TIME_T           4
    50 #        define SIZEOF_VOID_P           4
     54#        define SIZEOF_LONG             4
     55#        define SIZEOF_PTHREAD_T        4
     56#        define SIZEOF_SIZE_T           4
     57#        define SIZEOF_TIME_T           4
     58#        define SIZEOF_VOID_P           4
     59#        define SIZEOF_UINTPTR_T        4
     60#        define SIZEOF_PTHREAD_T        4
    5161#    endif
    5262
    5363#    if defined(__LP64__)
    54          /* MacOSX 10.4 (the first release to suppport 64-bit code
    55           * at all) only supports 64-bit in the UNIX layer.
    56           * Therefore surpress the toolbox-glue in 64-bit mode.
    57           */
     64     /* MacOSX 10.4 (the first release to support 64-bit code
     65      * at all) only supports 64-bit in the UNIX layer.
     66      * Therefore surpress the toolbox-glue in 64-bit mode.
     67      */
    5868
    59         /* In 64-bit mode setpgrp always has no argments, in 32-bit
    60         * mode that depends on the compilation environment
    61         */
    62 #       undef SETPGRP_HAVE_ARG
     69    /* In 64-bit mode setpgrp always has no argments, in 32-bit
     70    * mode that depends on the compilation environment
     71    */
     72#       undef SETPGRP_HAVE_ARG
    6373
    6474#    endif
     
    6676#ifdef __BIG_ENDIAN__
    6777#define WORDS_BIGENDIAN 1
     78#define DOUBLE_IS_BIG_ENDIAN_IEEE754
     79#else
     80#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754
    6881#endif /* __BIG_ENDIAN */
    6982
    70         /*
    71          * The definition in pyconfig.h is only valid on the OS release
    72          * where configure ran on and not necessarily for all systems where
    73          * the executable can be used on.
    74          *
    75          * Specifically: OSX 10.4 has limited supported for '%zd', while
    76          * 10.5 has full support for '%zd'. A binary built on 10.5 won't
    77          * work properly on 10.4 unless we surpress the definition
    78          * of PY_FORMAT_SIZE_T
    79          */
    80 #undef  PY_FORMAT_SIZE_T
     83#ifdef __i386__
     84# define HAVE_GCC_ASM_FOR_X87
     85#endif
     86
     87    /*
     88     * The definition in pyconfig.h is only valid on the OS release
     89     * where configure ran on and not necessarily for all systems where
     90     * the executable can be used on.
     91     *
     92     * Specifically: OSX 10.4 has limited supported for '%zd', while
     93     * 10.5 has full support for '%zd'. A binary built on 10.5 won't
     94     * work properly on 10.4 unless we surpress the definition
     95     * of PY_FORMAT_SIZE_T
     96     */
     97#undef  PY_FORMAT_SIZE_T
    8198
    8299
Note: See TracChangeset for help on using the changeset viewer.