pgsql: Change SIZEOF_BOOL to 1 for Windows.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Change SIZEOF_BOOL to 1 for Windows.
Date: 2018-05-02 04:25:44
Message-ID: E1fDjKq-00068x-7E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6fe25c1358a2a9612f0b4ce841e68d74e408cebe

Modified Files
--------------
src/include/pg_config.h.win32 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2018-05-02 12:33:46 pgsql: docs: Remove tabs recently introduced by me.
Previous Message Tom Lane 2018-05-02 03:33:25 Re: pgsql: Clean up warnings from -Wimplicit-fallthrough.