]> granicus.if.org Git - php/commitdiff
Fixed "implicit declaration of function ‘msgformat_fix_quotes’"
authorXinchen Hui <laruence@gmail.com>
Fri, 17 Jun 2016 07:59:41 +0000 (15:59 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 17 Jun 2016 07:59:41 +0000 (15:59 +0800)
ext/intl/msgformat/msgformat_class.h

index a90042e58fc0595188407cc8df73cd078e74b2d6..6823595f6d9ff2ac522cc7753a49901fdf1e7b60 100644 (file)
 #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