Created
April 23, 2015 11:13
-
-
Save elieux/b11c3a5f7bd476f5068e to your computer and use it in GitHub Desktop.
DIfference between Python headers, 32-bit vs. 64-bit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/pyconfig.h 2015-03-13 13:11:55.000000000 +0100 | |
+++ b/pyconfig.h 2015-03-13 13:00:15.000000000 +0100 | |
@@ -309,14 +309,14 @@ | |
#define HAVE_GAMMA 1 | |
/* Define if we can use x64 gcc inline assembler */ | |
-/* #undef HAVE_GCC_ASM_FOR_X64 */ | |
+#define HAVE_GCC_ASM_FOR_X64 1 | |
/* Define if we can use gcc inline assembler to get and set x87 control word | |
*/ | |
#define HAVE_GCC_ASM_FOR_X87 1 | |
/* Define if your compiler provides __uint128_t */ | |
-/* #undef HAVE_GCC_UINT128_T */ | |
+#define HAVE_GCC_UINT128_T 1 | |
/* Define if you have the getaddrinfo function. */ | |
#define HAVE_GETADDRINFO 1 | |
@@ -461,7 +461,7 @@ | |
and long long is available and at least as big as an off_t. You may need to | |
add some flags for configuration and compilation to enable this mode. (For | |
Solaris and Linux, the necessary defines are already defined.) */ | |
-#define HAVE_LARGEFILE_SUPPORT 1 | |
+/* #undef HAVE_LARGEFILE_SUPPORT */ | |
/* Define to 1 if you have the 'lchflags' function. */ | |
/* #undef HAVE_LCHFLAGS */ | |
@@ -1210,10 +1210,10 @@ | |
#define SIZEOF_INT 4 | |
/* The size of `long', as computed by sizeof. */ | |
-#define SIZEOF_LONG 4 | |
+#define SIZEOF_LONG 8 | |
/* The size of `long double', as computed by sizeof. */ | |
-#define SIZEOF_LONG_DOUBLE 12 | |
+#define SIZEOF_LONG_DOUBLE 16 | |
/* The size of `long long', as computed by sizeof. */ | |
#define SIZEOF_LONG_LONG 8 | |
@@ -1225,22 +1225,22 @@ | |
#define SIZEOF_PID_T 4 | |
/* The size of `pthread_t', as computed by sizeof. */ | |
-#define SIZEOF_PTHREAD_T 4 | |
+#define SIZEOF_PTHREAD_T 8 | |
/* The size of `short', as computed by sizeof. */ | |
#define SIZEOF_SHORT 2 | |
/* The size of `size_t', as computed by sizeof. */ | |
-#define SIZEOF_SIZE_T 4 | |
+#define SIZEOF_SIZE_T 8 | |
/* The size of `time_t', as computed by sizeof. */ | |
-#define SIZEOF_TIME_T 4 | |
+#define SIZEOF_TIME_T 8 | |
/* The size of `uintptr_t', as computed by sizeof. */ | |
-#define SIZEOF_UINTPTR_T 4 | |
+#define SIZEOF_UINTPTR_T 8 | |
/* The size of `void *', as computed by sizeof. */ | |
-#define SIZEOF_VOID_P 4 | |
+#define SIZEOF_VOID_P 8 | |
/* The size of `wchar_t', as computed by sizeof. */ | |
#define SIZEOF_WCHAR_T 2 | |
@@ -1344,7 +1344,7 @@ | |
#endif | |
/* Define if arithmetic is subject to x87-style double rounding issue */ | |
-#define X87_DOUBLE_ROUNDING 1 | |
+/* #undef X87_DOUBLE_ROUNDING */ | |
/* Define on OpenBSD to activate all library features */ | |
/* #undef _BSD_SOURCE */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment