Prevent Perl from introducing a possibly-incompatible definition of type
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/pl/plperl/plperl.c | modified | +6 −1 |
| src/pl/plperl/spi_internal.h | modified | +5 −0 |