Commit eb29d89f authored by Andrew Dunstan's avatar Andrew Dunstan

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).
parent 12119188
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * 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 @@ ...@@ -56,6 +56,9 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "mb/pg_wchar.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 */ /* perl stuff */
#include "EXTERN.h" #include "EXTERN.h"
#include "perl.h" #include "perl.h"
...@@ -69,8 +72,6 @@ ...@@ -69,8 +72,6 @@
#define pTHX void #define pTHX void
#endif #endif
extern DLLIMPORT bool check_function_bodies;
/********************************************************************** /**********************************************************************
* The information we cache about loaded procedures * The information we cache about loaded procedures
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment