[glib] Add PCRE_EXP_DECL to pcre_callout declaration



commit 87fd38bc4dd095d598ec375dbecb40d1393c3f8b
Author: Kristian Rietveld <kris gtk org>
Date:   Sat Jun 26 22:55:47 2010 +0200

    Add PCRE_EXP_DECL to pcre_callout declaration
    
    Fixes build on Mac OS X.

 glib/pcre/pcre.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/pcre/pcre.h b/glib/pcre/pcre.h
index e23d49c..302ced7 100644
--- a/glib/pcre/pcre.h
+++ b/glib/pcre/pcre.h
@@ -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 */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]