diff options
author | Tom Lane | 2018-05-02 04:21:21 +0000 |
---|---|---|
committer | Tom Lane | 2018-05-02 04:21:21 +0000 |
commit | 6fe25c1358a2a9612f0b4ce841e68d74e408cebe (patch) | |
tree | 731f46220537f862036088cf5bf9711be53a08c2 | |
parent | 2993435dbae5deb8d2f6c2a715690a5aef4eddb8 (diff) |
Change SIZEOF_BOOL to 1 for Windows.
For some reason it was previously defined as 0, which is silly. The only
effect was to disable use of <stdbool.h>, which commit b2328bf62 intended
to make possible.
Thomas Munro
Discussion: https://postgr.es/m/CAEepm%3D3%3DTDYEXUEcHpEx%2BTwc31wo7PA0oBAiNt6sWmq93MW02A%40mail.gmail.com
-rw-r--r-- | src/include/pg_config.h.win32 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index e776b34f22..9149c7ad37 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -615,7 +615,7 @@ #define PG_VERSION_STR "Uninitialized version string (win32)" /* The size of `bool', as computed by sizeof. */ -#define SIZEOF_BOOL 0 +#define SIZEOF_BOOL 1 /* The size of `long', as computed by sizeof. */ #define SIZEOF_LONG 4 |