Skip to content

Commit eb29d89

Browse files
committed
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).
1 parent 1211918 commit eb29d89

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pl/plperl/plperl.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* ENHANCEMENTS, OR MODIFICATIONS.
3434
*
3535
* IDENTIFICATION
36-
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.97 2005/12/28 18:34:16 tgl Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.98 2005/12/29 14:28:31 adunstan Exp $
3737
*
3838
**********************************************************************/
3939

@@ -56,6 +56,9 @@
5656
#include "miscadmin.h"
5757
#include "mb/pg_wchar.h"
5858

59+
/* define this before the perl headers get a chance to mangle DLLIMPORT */
60+
extern DLLIMPORT bool check_function_bodies;
61+
5962
/* perl stuff */
6063
#include "EXTERN.h"
6164
#include "perl.h"
@@ -69,8 +72,6 @@
6972
#define pTHX void
7073
#endif
7174

72-
extern DLLIMPORT bool check_function_bodies;
73-
7475

7576
/**********************************************************************
7677
* The information we cache about loaded procedures

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