com php-src: Fixed "implicit declaration of function ‘msgformat_fix_quotes’": ext/intl/msg format/msgformat_class.h
| From: | Xinchen Hui | Date: | Fri, 17 Jun 2016 07:59:41 +0000 |
| Subject: | com php-src: Fixed "implicit declaration of function ‘msgformat_fix_quotes’": ext/intl/msg format/msgformat_class.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92415@lists.php.net to get a copy of this message | ||
Commit: 958f18c1a12a3f1ac6fd6e119ad57ff9c6701b05
Author: Xinchen Hui <laruence@gmail.com> Fri, 17 Jun 2016 15:59:41 +0800
Parents: 307e546e1a41b51b0ff5fd918315c3626d7b6385
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=958f18c1a12a3f1ac6fd6e119ad57ff9c6701b05
Log:
Fixed "implicit declaration of function ‘msgformat_fix_quotes’"
Changed paths:
M ext/intl/msgformat/msgformat_class.h
Diff:
diff --git a/ext/intl/msgformat/msgformat_class.h b/ext/intl/msgformat/msgformat_class.h
index a90042e..6823595 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