summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-07-12 17:01:35 -0600
committerKarl Williamson <khw@cpan.org>2022-07-12 17:05:20 -0600
commit78777de812f7f1adb1a53471111f150eff2f75b9 (patch)
tree3d0c62fba753af972f15db0f38cb4110af4d7002 /embed.h
parent12f1a329cdc6653c42692c6f74c56e64fd4c3933 (diff)
downloadperl-78777de812f7f1adb1a53471111f150eff2f75b9.tar.gz
Change #ifdef to #ifndef
Commit 12f1a329cdc6653c42692c6f74c56e64fd4c3933 got it wrong
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/embed.h b/embed.h
index 38efe01d1e..6f7e334a15 100644
--- a/embed.h
+++ b/embed.h
@@ -1535,6 +1535,13 @@
#define new_he() S_new_he(aTHX)
# endif
# endif
+# if !defined(USE_LOCALE_THREADS)
+# if defined(PERL_IN_LOCALE_C)
+# if defined(USE_LOCALE)
+#define setlocale_failure_panic_i(a,b,c,d,e) S_setlocale_failure_panic_i(aTHX_ a,b,c,d,e)
+# endif
+# endif
+# endif
# if !defined(WIN32)
#define do_exec3(a,b,c) Perl_do_exec3(aTHX_ a,b,c)
# endif
@@ -1682,9 +1689,6 @@
#define set_numeric_radix(a) S_set_numeric_radix(aTHX_ a)
#define stdize_locale(a) S_stdize_locale(aTHX_ a)
#define switch_category_locale_to_template(a,b,c) S_switch_category_locale_to_template(aTHX_ a,b,c)
-# if defined(USE_LOCALE_THREADS)
-#define setlocale_failure_panic_i(a,b,c,d,e) S_setlocale_failure_panic_i(aTHX_ a,b,c,d,e)
-# endif
# if defined(USE_POSIX_2008_LOCALE)
#define emulate_setlocale_i(a,b) S_emulate_setlocale_i(aTHX_ a,b)
#define my_querylocale_i(a) S_my_querylocale_i(aTHX_ a)