Skip to content

Instantly share code, notes, and snippets.

@andrew-aladev
Created September 4, 2019 20:45
Show Gist options
  • Select an option

  • Save andrew-aladev/6233396d86218f36a7ee439e505f4fb3 to your computer and use it in GitHub Desktop.

Select an option

Save andrew-aladev/6233396d86218f36a7ee439e505f4fb3 to your computer and use it in GitHub Desktop.
diff -u /usr/arm-unknown-linux-gnueabi/usr/include/python3.6m/pyconfig.h /usr/ include/python3.6m/pyconfig.h
--- /usr/arm-unknown-linux-gnueabi/usr/include/python3.6m/pyconfig.h 2019-09-04 13:25:26.108623447 +0000
+++ /usr/include/python3.6m/pyconfig.h 2019-08-12 09:51:41.000000000 +0000
@@ -26,7 +26,7 @@
/* Define if C doubles are 64-bit IEEE 754 binary format, stored with the
least significant byte first */
-/* #undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754 */
+#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
/* Define if --enable-ipv6 is specified */
#define ENABLE_IPV6 1
@@ -54,7 +54,7 @@
#define HAVE_ALARM 1
/* Define if aligned memory access is required */
-#define HAVE_ALIGNED_REQUIRED 1
+/* #undef HAVE_ALIGNED_REQUIRED */
/* Define to 1 if you have the <alloca.h> header file. */
#define HAVE_ALLOCA_H 1
@@ -100,7 +100,7 @@
/* #undef HAVE_BROKEN_PTHREAD_SIGMASK */
/* define to 1 if your sem_getvalue is broken. */
-#define HAVE_BROKEN_SEM_GETVALUE 1
+/* #undef HAVE_BROKEN_SEM_GETVALUE */
/* Define if `unsetenv` does not return an int. */
/* #undef HAVE_BROKEN_UNSETENV */
@@ -382,14 +382,14 @@
/* #undef HAVE_GCC_ASM_FOR_MC68881 */
/* 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
*/
-/* #undef HAVE_GCC_ASM_FOR_X87 */
+#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
@@ -537,7 +537,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 */
@@ -1223,7 +1223,7 @@
/* Define if tzset() actually switches the local timezone in a meaningful way.
*/
-/* #undef HAVE_WORKING_TZSET */
+#define HAVE_WORKING_TZSET 1
/* Define to 1 if you have the `writev' function. */
#define HAVE_WRITEV 1
@@ -1270,7 +1270,7 @@
/* #undef POSIX_SEMAPHORES_NOT_ENABLED */
/* Defined if PTHREAD_SCOPE_SYSTEM supported. */
-/* #undef PTHREAD_SYSTEM_SCHED_SUPPORTED */
+#define PTHREAD_SYSTEM_SCHED_SUPPORTED 1
/* Define as the preferred size in bits of long digits */
/* #undef PYLONG_BITS_IN_DIGIT */
@@ -1310,10 +1310,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 8
+#define SIZEOF_LONG_DOUBLE 16
/* The size of `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
@@ -1325,22 +1325,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 4
@@ -1356,7 +1356,7 @@
#define SYS_SELECT_WITH_SYS_TIME 1
/* Define if tanh(-0.) is -0., or if platform doesn't have signed zeros */
-/* #undef TANH_PRESERVES_ZERO_SIGN */
+#define TANH_PRESERVES_ZERO_SIGN 1
/* Library needed by timemodule.c: librt may be needed for clock_gettime() */
/* #undef TIMEMODULE_LIB */
@@ -1487,7 +1487,7 @@
/* #undef _POSIX_THREADS */
/* Define to force use of thread-safe errno, h_errno, and other functions */
-#define _REENTRANT 1
+/* #undef _REENTRANT */
/* Define to the level of X/Open that your system supports */
#define _XOPEN_SOURCE 700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment