Re: [HACKERS] plperl header fix and rationalisation

2006-01-08 Thread Andrew Dunstan
I wrote: #ifdef WIN32 #define WIN32IO_IS_STDIO #endif I have added this (without code rearrangement) on the 8.0 and 8.1 stable branches. cheers andrew ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

[HACKERS] plperl header fix and rationalisation

2006-01-08 Thread Andrew Dunstan
The perl headers on Win32 try to hijack stdio and lots of other stuff (like getenv). This is annoying, as it generates lots of warnings, and probably dangerous as well. To inhibit that we would need to set a flag before the header inclusion, thus: #ifdef WIN32 #define WIN32IO_IS_STDIO #endif