+++ /dev/null
-#ifndef PYMACCONFIG_H\r
-#define PYMACCONFIG_H\r
- /*\r
- * This file moves some of the autoconf magic to compile-time\r
- * when building on MacOSX. This is needed for building 4-way\r
- * universal binaries and for 64-bit universal binaries because\r
- * the values redefined below aren't configure-time constant but\r
- * only compile-time constant in these scenarios.\r
- */\r
-\r
-#if defined(__APPLE__)\r
-\r
-# undef SIZEOF_LONG\r
-# undef SIZEOF_PTHREAD_T\r
-# undef SIZEOF_SIZE_T\r
-# undef SIZEOF_TIME_T\r
-# undef SIZEOF_VOID_P\r
-# undef SIZEOF__BOOL\r
-# undef SIZEOF_UINTPTR_T\r
-# undef SIZEOF_PTHREAD_T\r
-# undef WORDS_BIGENDIAN\r
-# undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754\r
-# undef DOUBLE_IS_BIG_ENDIAN_IEEE754\r
-# undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754\r
-# undef HAVE_GCC_ASM_FOR_X87\r
-\r
-# undef VA_LIST_IS_ARRAY\r
-# if defined(__LP64__) && defined(__x86_64__)\r
-# define VA_LIST_IS_ARRAY 1\r
-# endif\r
-\r
-# undef HAVE_LARGEFILE_SUPPORT\r
-# ifndef __LP64__\r
-# define HAVE_LARGEFILE_SUPPORT 1\r
-# endif\r
-\r
-# undef SIZEOF_LONG\r
-# ifdef __LP64__\r
-# define SIZEOF__BOOL 1\r
-# define SIZEOF__BOOL 1\r
-# define SIZEOF_LONG 8\r
-# define SIZEOF_PTHREAD_T 8\r
-# define SIZEOF_SIZE_T 8\r
-# define SIZEOF_TIME_T 8\r
-# define SIZEOF_VOID_P 8\r
-# define SIZEOF_UINTPTR_T 8\r
-# define SIZEOF_PTHREAD_T 8\r
-# else\r
-# ifdef __ppc__\r
-# define SIZEOF__BOOL 4\r
-# else\r
-# define SIZEOF__BOOL 1\r
-# endif\r
-# define SIZEOF_LONG 4\r
-# define SIZEOF_PTHREAD_T 4\r
-# define SIZEOF_SIZE_T 4\r
-# define SIZEOF_TIME_T 4\r
-# define SIZEOF_VOID_P 4\r
-# define SIZEOF_UINTPTR_T 4\r
-# define SIZEOF_PTHREAD_T 4\r
-# endif\r
-\r
-# if defined(__LP64__)\r
- /* MacOSX 10.4 (the first release to support 64-bit code\r
- * at all) only supports 64-bit in the UNIX layer.\r
- * Therefore surpress the toolbox-glue in 64-bit mode.\r
- */\r
-\r
- /* In 64-bit mode setpgrp always has no argments, in 32-bit\r
- * mode that depends on the compilation environment\r
- */\r
-# undef SETPGRP_HAVE_ARG\r
-\r
-# endif\r
-\r
-#ifdef __BIG_ENDIAN__\r
-#define WORDS_BIGENDIAN 1\r
-#define DOUBLE_IS_BIG_ENDIAN_IEEE754\r
-#else\r
-#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754\r
-#endif /* __BIG_ENDIAN */\r
-\r
-#ifdef __i386__\r
-# define HAVE_GCC_ASM_FOR_X87\r
-#endif\r
-\r
- /*\r
- * The definition in pyconfig.h is only valid on the OS release\r
- * where configure ran on and not necessarily for all systems where\r
- * the executable can be used on.\r
- *\r
- * Specifically: OSX 10.4 has limited supported for '%zd', while\r
- * 10.5 has full support for '%zd'. A binary built on 10.5 won't\r
- * work properly on 10.4 unless we surpress the definition\r
- * of PY_FORMAT_SIZE_T\r
- */\r
-#undef PY_FORMAT_SIZE_T\r
-\r
-\r
-#endif /* defined(_APPLE__) */\r
-\r
-#endif /* PYMACCONFIG_H */\r