aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2005-12-29 14:28:31 +0000
committerAndrew Dunstan <andrew@dunslane.net>2005-12-29 14:28:31 +0000
commiteb29d89ffdcead29ab243acb523404e580fe9666 (patch)
tree97521f6d46f49c704d6c243f55d8878b91058d3b /src
parent12119188fe04cd20a6f1317f62886b685ae71c59 (diff)
downloadpostgresql-eb29d89ffdcead29ab243acb523404e580fe9666.tar.gz
postgresql-eb29d89ffdcead29ab243acb523404e580fe9666.zip
Move declaration of check_function_bodies to where the perl headers
haven't had a chance to mangle the definition of DLLIMPORT (thanks again, perl guys).
Diffstat (limited to 'src')
-rw-r--r--src/pl/plperl/plperl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c
index 70c0ce493a4..d0a79888377 100644
--- a/src/pl/plperl/plperl.c
+++ b/src/pl/plperl/plperl.c
@@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.97 2005/12/28 18:34:16 tgl Exp $
+ * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.98 2005/12/29 14:28:31 adunstan Exp $
*
**********************************************************************/
@@ -56,6 +56,9 @@
#include "miscadmin.h"
#include "mb/pg_wchar.h"
+/* define this before the perl headers get a chance to mangle DLLIMPORT */
+extern DLLIMPORT bool check_function_bodies;
+
/* perl stuff */
#include "EXTERN.h"
#include "perl.h"
@@ -69,8 +72,6 @@
#define pTHX void
#endif
-extern DLLIMPORT bool check_function_bodies;
-
/**********************************************************************
* The information we cache about loaded procedures