Prevent Perl from introducing a possibly-incompatible definition of type

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

Commit: dfd7208424e55a391ab9f2924d752055580d2ba0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-11-22T17:47:46Z
Releases: 8.0.15
Prevent Perl from introducing a possibly-incompatible definition of type
"bool" into plperl.c.  This has always been a hazard since Perl allows a
platform-specific choice to define bool as int rather than char, but
evidently this didn't happen on any platform we support ... until OS X 10.5.
Per report from Brandon Maust.

Back-patch as far as 8.0 --- a bit arbitrary, but it seems unlikely anyone
will be trying to port 7.x onto new platforms.

Files

PathChange+/−
src/pl/plperl/plperl.c modified +6 −1
src/pl/plperl/spi_internal.h modified +5 −0