diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-08-23 13:38:03 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-23 15:50:49 -0600 |
commit | 8ef6e574dc20ae6630168de22486c9083ad307af (patch) | |
tree | 0c6b5f107e516ed0bb08964d7b0bbc26b6b8e728 /embed.h | |
parent | 4f219c4e77d1ed928277cc810b79d80d32968e48 (diff) | |
download | perl-8ef6e574dc20ae6630168de22486c9083ad307af.tar.gz |
PATCH: [perl #119443] Blead won't compile on wince
This commit adds #if's to cause locale handling code to compile on
platforms that don't have full-featured locale handling. The commits
mentioned in the ticket did not adequately cover these situations.
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1393,11 +1393,9 @@ #define share_hek_flags(a,b,c,d) S_share_hek_flags(aTHX_ a,b,c,d) #define unshare_hek_or_pvn(a,b,c,d) S_unshare_hek_or_pvn(aTHX_ a,b,c,d) # endif -# if defined(PERL_IN_LOCALE_C) -# if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE) +# if defined(PERL_IN_LOCALE_C) && defined(USE_LOCALE) #define is_cur_LC_category_utf8(a) S_is_cur_LC_category_utf8(aTHX_ a) #define stdize_locale(a) S_stdize_locale(aTHX_ a) -# endif # endif # if defined(PERL_IN_MALLOC_C) #define adjust_size_and_find_bucket S_adjust_size_and_find_bucket |