aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/reinit.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-03-23 10:31:10 -0400
committerPeter Eisentraut <peter_e@gmx.net>2018-03-23 10:31:10 -0400
commit7ba7986fb4364e889a705c9973fefa138650091c (patch)
treeec4b65272c7cfad83b4378ce38ee909f664e5319 /src/backend/storage/file/reinit.c
parentf1a074b146c900bd439b6ef1953866f41b61a669 (diff)
downloadpostgresql-7ba7986fb4364e889a705c9973fefa138650091c.tar.gz
postgresql-7ba7986fb4364e889a705c9973fefa138650091c.zip
Fix interaction of Perl and stdbool.h
Revert the PL/Perl-specific change in 9a95a77d9d5d3003d2d67121f2731b6e5fc37336. We must not prevent Perl from using stdbool.h when it has been built to do so, even if it uses an incompatible size. Otherwise, we would be imposing our bool on Perl, which will lead to crashes because of the size mismatch. Instead, we undef bool after including the Perl headers, as we did previously, but now only if we are not using stdbool.h ourselves. Record that choice in c.h as USE_STDBOOL. This will also make it easier to apply that coding pattern elsewhere if necessary.
Diffstat (limited to 'src/backend/storage/file/reinit.c')
0 files changed, 0 insertions, 0 deletions