Content-Length: 279788 | pFad | http://github.com/postgrespro/postgres/commit/ea73a78b08939aa3d9ea9ebc515aad5b9962c005

D7 Clear up remaining compile warning for plperl on Windows. · postgrespro/postgres@ea73a78 · GitHub
Skip to content

Commit ea73a78

Browse files
committed
Clear up remaining compile warning for plperl on Windows.
1 parent d3a4d63 commit ea73a78

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/pl/plperl/plperl.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1995, Regents of the University of California
1010
*
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 $
1212
*/
1313

1414
#ifndef PL_PERL_H
@@ -17,6 +17,13 @@
1717
/* stop perl headers from hijacking stdio and other stuff on Windows */
1818
#ifdef WIN32
1919
#define WIN32IO_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+
#ifdef isnan
25+
#undef isnan
26+
#endif
2027
#endif
2128

2229
/* required for perl API */

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ea73a78b08939aa3d9ea9ebc515aad5b9962c005

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy