Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f54e373

Browse files
committed
Correct the lie in pg_config.h.win32 about having inttypes.h.
This lie has been harmless until now, but has been exposed by the change to include postgres.h before the python headers, which in some versions include inttypes.h if HAVE_INTTYPES_H is set.
1 parent 04b1768 commit f54e373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/pg_config.h.win32

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/* This file is generated from MingW ./configure, and with the following
55
* changes to be valid for Visual C++ (and compatible):
66
*
7-
* HAVE_CBRT, HAVE_FUNCNAME_FUNC, HAVE_GETOPT, HAVE_GETOPT_H,
7+
* HAVE_CBRT, HAVE_FUNCNAME_FUNC, HAVE_GETOPT, HAVE_GETOPT_H, HAVE_INTTYPES_H,
88
* HAVE_GETOPT_LONG, HAVE_LOCALE_T, HAVE_RINT, HAVE_STRINGS_H, HAVE_STRTOLL,
99
* HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY,
1010
* USE_INLINE, inline
@@ -185,7 +185,7 @@
185185
/* #undef HAVE_INT8 */
186186

187187
/* Define to 1 if you have the <inttypes.h> header file. */
188-
#define HAVE_INTTYPES_H 1
188+
//#define HAVE_INTTYPES_H 1
189189

190190
/* Define to 1 if you have the global variable 'int timezone'. */
191191
#define HAVE_INT_TIMEZONE

0 commit comments

Comments
 (0)