mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Remove plperl isnan hack
The code previously undefined isnan because of a compiler warning on MinGW. Since we now need to use isnan, we can't do that anymore. We might need a different solution if the compiler warning is too annoying.
This commit is contained in:
parent
c5679256e9
commit
b04ebca6cd
@ -17,13 +17,6 @@
|
|||||||
/* stop perl headers from hijacking stdio and other stuff on Windows */
|
/* stop perl headers from hijacking stdio and other stuff on Windows */
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define WIN32IO_IS_STDIO
|
#define WIN32IO_IS_STDIO
|
||||||
/*
|
|
||||||
* isnan is defined in both the perl and mingw headers. We don't use it,
|
|
||||||
* so this just clears up the compile warning.
|
|
||||||
*/
|
|
||||||
#ifdef isnan
|
|
||||||
#undef isnan
|
|
||||||
#endif
|
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user