Commit 517b7add authored by Martin v. Löwis's avatar Martin v. Löwis

Use intptr_t/uintptr_t on Windows

parent 4dd33d9e
...@@ -41,6 +41,11 @@ ...@@ -41,6 +41,11 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
/* For uintptr_t, intptr_t */
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif
/* CAUTION: Build setups should ensure that NDEBUG is defined on the /* CAUTION: Build setups should ensure that NDEBUG is defined on the
* compiler command line when building Python in release mode; else * compiler command line when building Python in release mode; else
* assert() calls won't be removed. * assert() calls won't be removed.
......
...@@ -267,6 +267,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ ...@@ -267,6 +267,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
#define SIZEOF_LONG 4 #define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG_LONG 8
/* Atleast VC 7.1 has them. If some compiler does not provide them,
#ifdef appropriately .*/
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
#endif #endif
/* Fairly standard from here! */ /* Fairly standard from here! */
...@@ -484,6 +489,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ ...@@ -484,6 +489,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Define if you have the <stdarg.h> prototypes. */ /* Define if you have the <stdarg.h> prototypes. */
#define HAVE_STDARG_PROTOTYPES #define HAVE_STDARG_PROTOTYPES
/* Define if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define if you have the <sys/audioio.h> header file. */ /* Define if you have the <sys/audioio.h> header file. */
/* #undef HAVE_SYS_AUDIOIO_H */ /* #undef HAVE_SYS_AUDIOIO_H */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment