]> granicus.if.org Git - postgresql/commit
Fix two places that thought Windows64 is indicated by WIN64 macro.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2016 23:37:04 +0000 (19:37 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2016 23:37:04 +0000 (19:37 -0400)
commitb0e40d189325dc7a54d2546245e766f8c47a7c8d
tree06b0dc91802b1a543f6d85529fae6de50d7f8b2f
parent1d2f9de38d18152f83cf570581cebac0733ff504
Fix two places that thought Windows64 is indicated by WIN64 macro.

Everyplace else thinks it's _WIN64, so make these places fall in line.

The pg_regress.c usage is not going to result in any change in behavior,
only suppressing (or not) a compiler warning about downcasting HANDLEs.
So there seems no need for back-patching there.

The libpq/win32.mak usage might represent an actual bug, if anyone were
using this script to build for Windows64, which perhaps nobody is.
Given the lack of field complaints, no back-patch here either.

pg_regress.c problem found by Christian Ullrich, the other by me.
src/interfaces/libpq/win32.mak
src/test/regress/pg_regress.c