Fix two places that thought Windows64 is indicated by WIN64 macro.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b0e40d189325dc7a54d2546245e766f8c47a7c8d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-04-11T23:37:04Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/interfaces/libpq/win32.mak modified +1 −1
src/test/regress/pg_regress.c modified +1 −1