summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-08-01 14:30:43 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-08-01 14:30:43 +0530
commita476ac4b45fe39b023bed55c852abad04d70c5df (patch)
tree608fb6a0556081e61ab4de10a296baf2fa9fbf4b /posix
parent78dd658a025fb16d004677284b4db0d0c0191845 (diff)
Fix -Wundef warnings in regex_internal.h
Diffstat (limited to 'posix')
-rw-r--r--posix/regex_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 75c390f8c8..4bbf6a8276 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -90,7 +90,7 @@
# define SIZE_MAX ((size_t) -1)
#endif
-#if (defined MB_CUR_MAX && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_MBRTOWC && HAVE_WCSCOLL) || _LIBC
+#if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE) || _LIBC
# define RE_ENABLE_I18N
#endif