diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-06-17 15:59:41 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-06-17 15:59:41 +0800 |
commit | 958f18c1a12a3f1ac6fd6e119ad57ff9c6701b05 (patch) | |
tree | d5235cda8117ba1e77469581d12c406aabfe98fa | |
parent | 307e546e1a41b51b0ff5fd918315c3626d7b6385 (diff) | |
download | php-git-958f18c1a12a3f1ac6fd6e119ad57ff9c6701b05.tar.gz |
Fixed "implicit declaration of function ‘msgformat_fix_quotes’"
-rw-r--r-- | ext/intl/msgformat/msgformat_class.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/intl/msgformat/msgformat_class.h b/ext/intl/msgformat/msgformat_class.h index a90042e58f..6823595f6d 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 |