diff options
author | Karl Williamson <khw@cpan.org> | 2022-07-12 15:56:20 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-07-12 15:58:22 -0600 |
commit | 12f1a329cdc6653c42692c6f74c56e64fd4c3933 (patch) | |
tree | 0d8b481dedb103eb477cec5a44c0c61ae8eb9ef6 /embed.h | |
parent | f052c885e6f8bee5243e4c7f2cca2468bd78a8df (diff) | |
download | perl-12f1a329cdc6653c42692c6f74c56e64fd4c3933.tar.gz |
setlocale_failure_panic_i only on non-threaded currently
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1680,9 +1680,11 @@ #define new_numeric(a) S_new_numeric(aTHX_ a) #define restore_switched_locale(a,b) S_restore_switched_locale(aTHX_ a,b) #define set_numeric_radix(a) S_set_numeric_radix(aTHX_ a) -#define setlocale_failure_panic_i(a,b,c,d,e) S_setlocale_failure_panic_i(aTHX_ a,b,c,d,e) #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) |