summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex_internal.h
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2021-11-29 16:33:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-12-24 00:29:55 +0100
commit062fac27c581ee207defcca238df691f896859f2 (patch)
treea9dc483920f90403d5f11fa13597370f0b6cf6ff /libc/misc/regex/regex_internal.h
parent48a333b652e4874f9fccccbc608fcedbe25909ea (diff)
Fix -Wundef related warnings
Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libc/misc/regex/regex_internal.h')
-rw-r--r--libc/misc/regex/regex_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/regex/regex_internal.h b/libc/misc/regex/regex_internal.h
index 5d9154fa0..c0f61d4ce 100644
--- a/libc/misc/regex/regex_internal.h
+++ b/libc/misc/regex/regex_internal.h
@@ -58,7 +58,7 @@
#define gettext(msgid) (msgid)
#define gettext_noop(String) String
-#if (defined MB_CUR_MAX && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_MBRTOWC && HAVE_WCSCOLL)
+#if (defined MB_CUR_MAX && defined HAVE_LOCALE_H && defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_WCRTOMB && defined HAVE_MBRTOWC && defined HAVE_WCSCOLL)
# define RE_ENABLE_I18N
#endif