From 87fd38bc4dd095d598ec375dbecb40d1393c3f8b Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Sat, 26 Jun 2010 22:55:47 +0200 Subject: [PATCH] Add PCRE_EXP_DECL to pcre_callout declaration Fixes build on Mac OS X. --- glib/pcre/pcre.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.7.4