From: K.Kosako Date: Fri, 24 Aug 2018 05:15:28 +0000 (+0900) Subject: move include position of Unicode Properties data X-Git-Tag: v6.9.0~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd49d8d30dc457bf9d50053dc1299b8bdaa45fd0;p=onig move include position of Unicode Properties data --- diff --git a/src/unicode.c b/src/unicode.c index ec2f3af..c6a0c94 100644 --- a/src/unicode.c +++ b/src/unicode.c @@ -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 {