]> granicus.if.org Git - onig/commitdiff
move include position of Unicode Properties data
authorK.Kosako <kosako@sofnec.co.jp>
Fri, 24 Aug 2018 05:15:28 +0000 (14:15 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Fri, 24 Aug 2018 05:15:28 +0000 (14:15 +0900)
src/unicode.c

index ec2f3af14dcf639fcc0bda4697a1872bc1413173..c6a0c940c36d9d810b6292a8532fbc635b411ac0 100644 (file)
@@ -497,6 +497,12 @@ onigenc_unicode_get_case_fold_codes_by_str(OnigEncoding enc,
   return n;
 }
 
+#ifdef USE_UNICODE_PROPERTIES
+#include "unicode_property_data.c"
+#else
+#include "unicode_property_data_posix.c"
+#endif
+
 
 #ifdef USE_UNICODE_EXTENDED_GRAPHEME_CLUSTER
 
@@ -700,12 +706,6 @@ onigenc_egcb_is_break_position(OnigEncoding enc, UChar* p, UChar* prev,
 }
 
 
-#ifdef USE_UNICODE_PROPERTIES
-#include "unicode_property_data.c"
-#else
-#include "unicode_property_data_posix.c"
-#endif
-
 #define USER_DEFINED_PROPERTY_MAX_NUM  20
 
 typedef struct {