From e271ace5f85ba7909b05d4779b204000ac5a9de0 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 1 Apr 2015 13:17:43 +0200 Subject: [PATCH] fix extern "C" now, it shouldn't matter where intl_common.h is included, not need for extra putting it into extern C --- ext/intl/intl_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/intl/intl_common.h b/ext/intl/intl_common.h index 61da2738d1..954d2bdd7f 100644 --- a/ext/intl/intl_common.h +++ b/ext/intl/intl_common.h @@ -20,7 +20,9 @@ #define INTL_COMMON_H /* Auxiliary macros */ +BEGIN_EXTERN_C() #include +END_EXTERN_C() #include #ifndef UBYTES @@ -41,6 +43,8 @@ #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str) #define INTL_Z_STRLEN_P(str) UCHARS( Z_STRLEN_P(str) ) +BEGIN_EXTERN_C() extern zend_class_entry *IntlException_ce_ptr; +END_EXTERN_C() #endif /* INTL_COMMON_H */ -- 2.40.0