Fix macro-redefinition warning on MSVC.

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

Commit: a4b0a4d437dc71839999c0d5bed23445abf82d88
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-09-03T15:01:08Z
Releases: 9.6.6
Fix macro-redefinition warning on MSVC.

In commit 9d6b160d7, I tweaked pg_config.h.win32 to use
"#define HAVE_LONG_LONG_INT_64 1" rather than defining it as empty,
for consistency with what happens in an autoconf'd build.
But Solution.pm injects another definition of that macro into
ecpg_config.h, leading to justifiable (though harmless) compiler whining.
Make that one consistent too.  Back-patch, like the previous patch.

Discussion: https://postgr.es/m/CAEepm=1dWsXROuSbRg8PbKLh0S=8Ou-V8sr05DxmJOF5chBxqQ@mail.gmail.com

Files

PathChange+/−
src/tools/msvc/Solution.pm modified +1 −1

Discussion