summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-08-23 13:38:03 -0600
committerKarl Williamson <public@khwilliamson.com>2013-08-23 15:50:49 -0600
commit8ef6e574dc20ae6630168de22486c9083ad307af (patch)
tree0c6b5f107e516ed0bb08964d7b0bbc26b6b8e728 /embed.h
parent4f219c4e77d1ed928277cc810b79d80d32968e48 (diff)
downloadperl-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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/embed.h b/embed.h
index d89782fb43..6cdcf82782 100644
--- a/embed.h
+++ b/embed.h
@@ -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