diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/c.h | 4 | ||||
-rw-r--r-- | src/include/pg_config.h.in | 6 | ||||
-rw-r--r-- | src/include/pg_config.h.win32 | 8 |
3 files changed, 2 insertions, 16 deletions
diff --git a/src/include/c.h b/src/include/c.h index bbc53f5caa8..652f67bd936 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -328,7 +328,7 @@ * bool * Boolean value, either true or false. * - * Use stdbool.h if available and its bool has size 1. That's useful for + * We use stdbool.h if bool has size 1 after including it. That's useful for * better compiler and debugger output and for compatibility with third-party * libraries. But PostgreSQL currently cannot deal with bool of other sizes; * there are static assertions around the code to prevent that. @@ -339,7 +339,7 @@ #ifndef __cplusplus -#if defined(HAVE_STDBOOL_H) && SIZEOF_BOOL == 1 +#if SIZEOF_BOOL == 1 #include <stdbool.h> #define USE_STDBOOL 1 #else diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index c876033f9da..d5ab0079b1d 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -519,9 +519,6 @@ /* Define to 1 if you have the `SSL_get_current_compression' function. */ #undef HAVE_SSL_GET_CURRENT_COMPRESSION -/* Define to 1 if stdbool.h conforms to C99. */ -#undef HAVE_STDBOOL_H - /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H @@ -742,9 +739,6 @@ /* Define to 1 if the assembler supports X86_64's POPCNTQ instruction. */ #undef HAVE_X86_64_POPCNTQ -/* Define to 1 if the system has the type `_Bool'. */ -#undef HAVE__BOOL - /* Define to 1 if your compiler understands __builtin_bswap16. */ #undef HAVE__BUILTIN_BSWAP16 diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index d9bf16afd60..388331d9914 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -395,11 +395,6 @@ /* Define to 1 if you have the `SSL_get_current_compression' function. */ #define HAVE_SSL_GET_CURRENT_COMPRESSION 1 -/* Define to 1 if stdbool.h conforms to C99. */ -#if (_MSC_VER >= 1800) -#define HAVE_STDBOOL_H 1 -#endif - /* Define to 1 if you have the <stdint.h> header file. */ /* #undef HAVE_STDINT_H */ @@ -581,9 +576,6 @@ /* Define to 1 if the assembler supports X86_64's POPCNTQ instruction. */ /* #undef HAVE_X86_64_POPCNTQ */ -/* Define to 1 if the system has the type `_Bool'. */ -/* #undef HAVE__BOOL */ - /* Define to 1 if your compiler understands __builtin_bswap16. */ /* #undef HAVE__BUILTIN_BSWAP16 */ |