diff options
author | Karl Williamson <khw@cpan.org> | 2021-03-14 05:59:38 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-19 13:29:35 -0600 |
commit | e8d6380f3c8d4c6fe35b0b138074c5cf1bc7fc17 (patch) | |
tree | 5ba26c1bc89318f4e481fca605b39e95a9c8494a | |
parent | 458cddf75c7800dff8bab4f28518e96bd49068aa (diff) | |
download | perl-e8d6380f3c8d4c6fe35b0b138074c5cf1bc7fc17.tar.gz |
perl.h: Expand scope of cpp conditional
This just doesn't bother with checking some locale-related stuff if not
paying attention to locales.
-rw-r--r-- | perl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1317,7 +1317,6 @@ violations are fatal. # define USE_POSIX_2008_LOCALE # endif # endif -#endif /* Microsoft documentation reads in the change log for VS 2015: * "The localeconv function declared in locale.h now works correctly when @@ -1325,8 +1324,9 @@ violations are fatal. * function would return the lconv data for the global locale, not the * thread's locale." */ -#if defined(WIN32) && defined(USE_THREAD_SAFE_LOCALE) && _MSC_VER < 1900 +# if defined(WIN32) && defined(USE_THREAD_SAFE_LOCALE) && _MSC_VER < 1900 # define TS_W32_BROKEN_LOCALECONV +# endif #endif #include <setjmp.h> |