File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 41
41
#include <unistd.h>
42
42
#endif
43
43
44
+ /* For uintptr_t, intptr_t */
45
+ #ifdef HAVE_STDDEF_H
46
+ #include <stddef.h>
47
+ #endif
48
+
44
49
/* CAUTION: Build setups should ensure that NDEBUG is defined on the
45
50
* compiler command line when building Python in release mode; else
46
51
* assert() calls won't be removed.
Original file line number Diff line number Diff line change @@ -267,6 +267,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
267
267
#define SIZEOF_LONG 4
268
268
#define SIZEOF_LONG_LONG 8
269
269
270
+ /* Atleast VC 7.1 has them. If some compiler does not provide them,
271
+ #ifdef appropriately .*/
272
+ #define HAVE_UINTPTR_T 1
273
+ #define HAVE_INTPTR_T 1
274
+
270
275
#endif
271
276
272
277
/* 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
489
/* Define if you have the <stdarg.h> prototypes. */
485
490
#define HAVE_STDARG_PROTOTYPES
486
491
492
+ /* Define if you have the <stddef.h> header file. */
493
+ #define HAVE_STDDEF_H 1
494
+
487
495
/* Define if you have the <sys/audioio.h> header file. */
488
496
/* #undef HAVE_SYS_AUDIOIO_H */
489
497
You can’t perform that action at this time.
0 commit comments