Bogus HAVE_DECL_FOO entries in msvc/Solution.pm
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Date: 2021-07-12T23:46:32Z
Lists: pgsql-hackers
Attachments
- fix-bogus-HAVE_DECL-values.patch (text/x-diff) patch
Autoconf's AC_CHECK_DECLS always defines HAVE_DECL_whatever as 1 or 0, but some of the entries in msvc/Solution.pm show such symbols as "undef" instead. Shouldn't we fix it as per attached? This is probably only cosmetic at the moment, but it could bite us someday if someone wrote a complex conditional using one of these symbols. These apparently-bogus values date to Peter's 8f4fb4c64, which created that table; but AFAICS it was just faithfully emulating the previous confused state of affairs. regards, tom lane
Commits
-
Ensure HAVE_DECL_XXX macros in MSVC builds match those in Unix.
- e529b2dc37ac 15.0 landed
- 91a1651057b1 13.4 landed
- 081e86bd9e7e 14.0 landed