Skip to content

Commit 3d29963

Browse files
authored
Merge pull request #38 from ActiveState/BE-3557-2-7-18-8-windows-build-succeeds
Always include inttypes.h because of pytime.h
2 parents 22b6ffd + bdac43e commit 3d29963

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Include/pyport.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
#include "pyconfig.h" /* include for defines */
55

6+
/* Always include inttypes.h now because of pytime.h */
67
/* Some versions of HP-UX & Solaris need inttypes.h for int32_t,
78
INT32_MAX, etc. */
8-
#ifdef HAVE_INTTYPES_H
9+
/* #ifdef HAVE_INTTYPES_H */
910
#include <inttypes.h>
10-
#endif
11+
/* #endif */
1112

1213
#ifdef HAVE_STDINT_H
1314
#include <stdint.h>

0 commit comments

Comments
 (0)