diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-12-01 15:54:01 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-12-01 15:54:01 (GMT) |
commit | 7072f74dc8bea03490ab09af3ee5a902bdc6f284 (patch) | |
tree | 7e36047e6441ee26a7c81c5c1c90f669cd83c7cc /Include | |
parent | 117a899e4dda2faa3d8476752ce612def935ae75 (diff) | |
download | cpython-7072f74dc8bea03490ab09af3ee5a902bdc6f284.zip cpython-7072f74dc8bea03490ab09af3ee5a902bdc6f284.tar.gz cpython-7072f74dc8bea03490ab09af3ee5a902bdc6f284.tar.bz2 |
Fix for issue #7416: SIZEOF_UINTPTR_T can be invalid when configuring a
multi-architecture build (in particular when the architectures don't share
a common pointer size).
Fixed the same issue for SIZEOF_PTHREAD_T.
(No update to the NEWS file because this is a bugfix for an as yet unreleased
feature)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pymacconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/pymacconfig.h b/Include/pymacconfig.h index 3a3428c..fcfbf58 100644 --- a/Include/pymacconfig.h +++ b/Include/pymacconfig.h @@ -16,6 +16,8 @@ # undef SIZEOF_TIME_T # undef SIZEOF_VOID_P # undef SIZEOF__BOOL +# undef SIZEOF_UINTPTR_T +# undef SIZEOF_PTHREAD_T # undef WORDS_BIGENDIAN # undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 # undef DOUBLE_IS_BIG_ENDIAN_IEEE754 @@ -40,6 +42,8 @@ # define SIZEOF_SIZE_T 8 # define SIZEOF_TIME_T 8 # define SIZEOF_VOID_P 8 +# define SIZEOF_UINTPTR_T 8 +# define SIZEOF_PTHREAD_T 8 # else # ifdef __ppc__ # define SIZEOF__BOOL 4 @@ -51,6 +55,8 @@ # define SIZEOF_SIZE_T 4 # define SIZEOF_TIME_T 4 # define SIZEOF_VOID_P 4 +# define SIZEOF_UINTPTR_T 4 +# define SIZEOF_PTHREAD_T 4 # endif # if defined(__LP64__) |