From 958f18c1a12a3f1ac6fd6e119ad57ff9c6701b05 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 17 Jun 2016 15:59:41 +0800 Subject: [PATCH] =?UTF-8?q?Fixed=20"implicit=20declaration=20of=20function?= =?UTF-8?q?=20=E2=80=98msgformat=5Ffix=5Fquotes=E2=80=99"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext/intl/msgformat/msgformat_class.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ext/intl/msgformat/msgformat_class.h b/ext/intl/msgformat/msgformat_class.h index a90042e58fc05..6823595f6d9ff 100644 --- a/ext/intl/msgformat/msgformat_class.h +++ b/ext/intl/msgformat/msgformat_class.h @@ -24,6 +24,11 @@ #include "../intl_common.h" #include "../intl_error.h" #include "../intl_data.h" + +#if U_ICU_VERSION_MAJOR_NUM * 10 + U_ICU_VERSION_MINOR_NUM < 48 +# define MSG_FORMAT_QUOTE_APOS 1 +#endif + #include "msgformat_data.h" typedef struct { @@ -54,8 +59,4 @@ extern zend_class_entry *MessageFormatter_ce_ptr; #define MSG_FORMAT_OBJECT(mfo) (mfo)->mf_data.umsgf -#if U_ICU_VERSION_MAJOR_NUM * 10 + U_ICU_VERSION_MINOR_NUM < 48 -# define MSG_FORMAT_QUOTE_APOS 1 -#endif - #endif // #ifndef MSG_FORMAT_CLASS_H