diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-04-30 14:34:05 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-04-30 14:34:05 -0400 |
commit | b04ebca6cd845c0a51da71efa3e2c57d32e823cd (patch) | |
tree | d887108164664090aaf02dec5a7896d488f37efa /src | |
parent | c5679256e93d8022b3cdd146a28f6a362a3c79e3 (diff) | |
download | postgresql-b04ebca6cd845c0a51da71efa3e2c57d32e823cd.tar.gz postgresql-b04ebca6cd845c0a51da71efa3e2c57d32e823cd.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/pl/plperl/plperl.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pl/plperl/plperl.h b/src/pl/plperl/plperl.h index 843331e9dd3..c72c6ea59fc 100644 --- a/src/pl/plperl/plperl.h +++ b/src/pl/plperl/plperl.h @@ -17,13 +17,6 @@ /* stop perl headers from hijacking stdio and other stuff on Windows */ #ifdef WIN32 #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 */ /* |