summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-28 15:32:52 +0200
committerYves Orton <demerphq@gmail.com>2023-04-05 15:22:55 +0800
commit9d18cc1309653402735f34cc33436853730b54fa (patch)
tree906e1bd36922b96fbcb67e31011de98d746b2201
parent564b0c90d4a5f7c04ed173bd9bac8d4241a9acb3 (diff)
downloadperl-9d18cc1309653402735f34cc33436853730b54fa.tar.gz
embed.fnc - remove incorrect comment
which in turn allows the nested if clauses to be merged
-rw-r--r--embed.fnc11
1 files changed, 5 insertions, 6 deletions
diff --git a/embed.fnc b/embed.fnc
index 64aca13537..d8f3c001b6 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -4454,14 +4454,13 @@ S |bool |less_dicey_bool_setlocale_r \
# endif /* !defined(USE_POSIX_2008_LOCALE) && ( defined(USE_LOCALE_THREADS) \
&& !defined(USE_THREAD_SAFE_LOCALE) && \
!defined(USE_THREAD_SAFE_LOCALE_EMULATION) ) */
-# if !( defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE) )
-: regen/embed.pl can't currently cope with 'elif'
-# if !defined(LC_ALL) || defined(USE_POSIX_2008_LOCALE) || defined(WIN32)
+# if !( defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE) ) && ( \
+ !defined(LC_ALL) || defined(USE_POSIX_2008_LOCALE) || defined(WIN32) )
S |const char *|calculate_LC_ALL \
|NN const char **individ_locales
-# endif /* !defined(LC_ALL) || defined(USE_POSIX_2008_LOCALE) || \
- defined(WIN32) */
-# endif /* !( defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE) ) */
+# endif /* !( defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE) ) \
+ && ( !defined(LC_ALL) || defined(USE_POSIX_2008_LOCALE) || \
+ defined(WIN32) ) */
# if defined(WIN32)
ST |wchar_t *|Win_byte_string_to_wstring \
|const UINT code_page \