aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2006-01-12 22:15:56 +0000
committerAndrew Dunstan <andrew@dunslane.net>2006-01-12 22:15:56 +0000
commitea73a78b08939aa3d9ea9ebc515aad5b9962c005 (patch)
tree26867fabb843f0cb4467ebf19bd66ef01c0459ae
parentd3a4d63387b633abb78b57e67c9be6076255a157 (diff)
downloadpostgresql-ea73a78b08939aa3d9ea9ebc515aad5b9962c005.tar.gz
postgresql-ea73a78b08939aa3d9ea9ebc515aad5b9962c005.zip
Clear up remaining compile warning for plperl on Windows.
-rw-r--r--src/pl/plperl/plperl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/pl/plperl/plperl.h b/src/pl/plperl/plperl.h
index c88186588c5..e8702efc9b5 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: pgsql/src/pl/plperl/plperl.h,v 1.1 2006/01/08 22:27:52 adunstan Exp $
+ * $PostgreSQL: pgsql/src/pl/plperl/plperl.h,v 1.2 2006/01/12 22:15:56 adunstan Exp $
*/
#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 */