From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Define WIN32 when _WIN32 is set |
Date: | 2014-01-17 11:42:08 |
Message-ID: | E1W47oO-0007Su-9C@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Define WIN32 when _WIN32 is set
_WIN32 is set by the compiler, whereas our code uses WIN32 that is
normally set through our build system. To make it possible to build
extensions out of tree we cannot rely on that, so set the WIN32
symbol explicitly whenever the compiler has set _WIN32.
Not setting this symbol causes double inclusion of pg_config_os.h,
and possibly other errors as well.
Craig Ringer
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9c14dd22e144a5bef9b114a7a94df97cb23c6b9b
Modified Files
--------------
src/include/c.h | 9 +++++++++
1 file changed, 9 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2014-01-17 12:33:40 | pgsql: Show SSL encryption information when logging connections |
Previous Message | Heikki Linnakangas | 2014-01-17 08:14:28 | pgsql: Prevent integer overflow with --progress >= 2148 |