diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-12-09 20:48:32 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-12-09 23:09:21 -0500 |
commit | 9f162648bc98e8343f866da6b51d9285a5e41968 (patch) | |
tree | cf5c41496d5321878810cb8d9157806b201ac678 | |
parent | 2afbc6522ad19982b2586affb3f24d49951b81b6 (diff) | |
download | perl-9f162648bc98e8343f866da6b51d9285a5e41968.tar.gz |
stdize_locale not used in POSIX.
-rw-r--r-- | embed.fnc | 5 | ||||
-rw-r--r-- | embed.h | 2 | ||||
-rw-r--r-- | proto.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -2429,9 +2429,12 @@ s |bool |isa_lookup |NN HV *stash|NN const char * const name \ |STRLEN len|U32 flags #endif +#if defined(USE_LOCALE) && defined(PERL_IN_LOCALE_C) +s |char* |stdize_locale |NN char* locs +#endif + #if defined(USE_LOCALE) \ && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX)) -s |char* |stdize_locale |NN char* locs ApM |bool |_is_cur_LC_category_utf8|int category #endif @@ -1771,7 +1771,7 @@ #define padname_dup(a,b) Perl_padname_dup(aTHX_ a,b) #define padnamelist_dup(a,b) Perl_padnamelist_dup(aTHX_ a,b) # endif -# if defined(USE_LOCALE) && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX)) +# if defined(USE_LOCALE) && defined(PERL_IN_LOCALE_C) #define stdize_locale(a) S_stdize_locale(aTHX_ a) # endif # if defined(USE_LOCALE_COLLATE) @@ -8154,6 +8154,8 @@ PERL_CALLCONV SV* Perl_sv_dup_inc(pTHX_ const SV *const sstr, CLONE_PARAMS *cons #endif #if defined(USE_LOCALE) && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX)) PERL_CALLCONV bool Perl__is_cur_LC_category_utf8(pTHX_ int category); +#endif +#if defined(USE_LOCALE) && defined(PERL_IN_LOCALE_C) STATIC char* S_stdize_locale(pTHX_ char* locs) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_STDIZE_LOCALE \ |