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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy