diff options
author | Andrew Dunstan | 2006-01-12 22:15:56 +0000 |
---|---|---|
committer | Andrew Dunstan | 2006-01-12 22:15:56 +0000 |
commit | bd083b924fdad4aba0006dd7cee1fb63077e20ec (patch) | |
tree | 791e3f0d1911819bb413c11e41d574c9deef2b3a | |
parent | 47a9f415ae3e9f08212c97ceb4073a091460141c (diff) |
Clear up remaining compile warning for plperl on Windows.
-rw-r--r-- | src/pl/plperl/plperl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/pl/plperl/plperl.h b/src/pl/plperl/plperl.h index 0c3329a32e..2ccb4ced19 100644 --- a/src/pl/plperl/plperl.h +++ b/src/pl/plperl/plperl.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1995, Regents of the University of California * - * $PostgreSQL:$ + * $PostgreSQL$ */ #ifndef PL_PERL_H @@ -17,6 +17,13 @@ /* 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 /* required for perl API */ |