|
8 | 8 | * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group |
9 | 9 | * Portions Copyright (c) 1995, Regents of the University of California |
10 | 10 | * |
11 | | - * $PostgreSQL: pgsql/src/pl/plperl/plperl.h,v 1.1 2006/01/08 22:27:52 adunstan Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/pl/plperl/plperl.h,v 1.2 2006/01/12 22:15:56 adunstan Exp $ |
12 | 12 | */ |
13 | 13 |
|
14 | 14 | #ifndefPL_PERL_H |
|
17 | 17 | /* stop perl headers from hijacking stdio and other stuff on Windows */ |
18 | 18 | #ifdefWIN32 |
19 | 19 | #defineWIN32IO_IS_STDIO |
| 20 | +/* |
| 21 | + * isnan is defined in both the perl and mingw headers. We don't use it, |
| 22 | + * so this just clears up the compile warning. |
| 23 | + */ |
| 24 | +#ifdefisnan |
| 25 | +#undef isnan |
| 26 | +#endif |
20 | 27 | #endif |
21 | 28 |
|
22 | 29 | /* required for perl API */ |
|