Add PCRE_EXP_DECL to pcre_callout declaration
authorKristian Rietveld <kris@gtk.org>
Sat, 26 Jun 2010 20:55:47 +0000 (22:55 +0200)
committerKristian Rietveld <kris@gtk.org>
Sat, 26 Jun 2010 20:55:47 +0000 (22:55 +0200)
Fixes build on Mac OS X.

glib/pcre/pcre.h

index e23d49c..302ced7 100644 (file)
@@ -257,7 +257,7 @@ typedef struct pcre_callout_block {
 #define pcre_free g_free
 #define pcre_stack_malloc g_try_malloc
 
-int   (*pcre_callout)(pcre_callout_block *);
+PCRE_EXP_DECL int   (*pcre_callout)(pcre_callout_block *);
 
 /* Exported PCRE functions */