8000 Change SIZEOF_BOOL to 1 for Windows. · Giperboloid/postgres@381300d · GitHub
[go: up one dir, main page]

Skip to content

Commit 381300d

Browse files
author
Thomas Munro
committed
Change SIZEOF_BOOL to 1 for Windows.
Previously it was defined as 0, which inhibited the use of stdbool.h even when it is available. Thomas Munro Discussion: https://postgr.es/m/CAEepm%3D3%3DTDYEXUEcHpEx%2BTwc31wo7PA0oBAiNt6sWmq93MW02A%40mail.gmail.com
1 parent fa151ca commit 381300d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/pg_config.h.win32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@
615615
#define PG_VERSION_STR "Uninitialized version string (win32)"
616616

617617
/* The size of `bool', as computed by sizeof. */
618-
#define SIZEOF_BOOL 0
618+
#define SIZEOF_BOOL 1
619619

620620
/* The size of `long', as computed by sizeof. */
621621
#define SIZEOF_LONG 4

0 commit comments

Comments
 (0)
0