https://github.com/postgres/postgres
Revision 081e86bd9e7e00af3cbf9bcdec8277f02d22e6b4 authored by Tom Lane on 15 July 2021, 15:00:43 UTC, committed by Tom Lane on 15 July 2021, 15:00:43 UTC
Autoconf's AC_CHECK_DECLS() always defines HAVE_DECL_whatever
as 1 or 0, but some of the entries in msvc/Solution.pm showed
such symbols as "undef" instead of 0.  Fix that for consistency.
There's no live bug in current usages AFAICS, but it's not hard
to imagine one creeping in if more-complex #if tests get added.

Back-patch to v13, which is as far back as Solution.pm contains
this data.  The inconsistency still exists in the manually-filled
pg_config_ext.h.win32 files of older branches; but as long as the
problem is only latent, it doesn't seem worth the trouble to
clean things up there.

Discussion: https://postgr.es/m/3185430.1626133592@sss.pgh.pa.us
1 parent 4d39d4e
History
Tip revision: 081e86bd9e7e00af3cbf9bcdec8277f02d22e6b4 authored by Tom Lane on 15 July 2021, 15:00:43 UTC
Ensure HAVE_DECL_XXX macros in MSVC builds match those in Unix.
Tip revision: 081e86b
File Mode Size
config
contrib
doc
src
.dir-locals.el -rw-r--r-- 730 bytes
.editorconfig -rw-r--r-- 183 bytes
.git-blame-ignore-revs -rw-r--r-- 8.6 KB
.gitattributes -rw-r--r-- 1.5 KB
.gitignore -rw-r--r-- 504 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 4.2 KB
HISTORY -rw-r--r-- 277 bytes
Makefile -rw-r--r-- 1.6 KB
README -rw-r--r-- 1.2 KB
README.git -rw-r--r-- 721 bytes
aclocal.m4 -rw-r--r-- 490 bytes
configure -rwxr-xr-x 570.4 KB
configure.ac -rw-r--r-- 82.4 KB

README

back to top