diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-03-21 07:43:29 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-03-21 07:45:15 -0400 |
commit | f20b3285340cc0576ab8445f483700983cf2ba9f (patch) | |
tree | af1c24bdff668a0d125db45dbdc5cbaba0aeb3b9 /src | |
parent | d2d79887eadff72c339a072ef693bb6016651d30 (diff) | |
download | postgresql-f20b3285340cc0576ab8445f483700983cf2ba9f.tar.gz postgresql-f20b3285340cc0576ab8445f483700983cf2ba9f.zip |
Add configure tests for stdbool.h and sizeof bool
This will allow us to assess how many platforms have bool with a size
other than 1, which will help us decide how to go forward with using
stdbool.h.
Discussion: https://www.postgresql.org/message-id/flat/3a0fe7e1-5ed1-414b-9230-53bbc0ed1f49@2ndquadrant.com
Diffstat (limited to 'src')
-rw-r--r-- | src/include/pg_config.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index c5db5430b9d..625cd21ed31 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -501,6 +501,9 @@ /* 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 @@ -703,6 +706,9 @@ /* Define to 1 if you have the `X509_get_signature_nid' function. */ #undef HAVE_X509_GET_SIGNATURE_NID +/* 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 @@ -812,6 +818,9 @@ RELSEG_SIZE requires an initdb. */ #undef RELSEG_SIZE +/* The size of `bool', as computed by sizeof. */ +#undef SIZEOF_BOOL + /* The size of `long', as computed by sizeof. */ #undef SIZEOF_LONG |