summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex/regex_old.c')
-rw-r--r--libc/misc/regex/regex_old.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index bee6434fd..78a66cf97 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -64,10 +64,9 @@
# include <wctype.h>
# endif
-# if defined _LIBC || defined __UCLIBC__
+# ifdef _LIBC
/* We have to keep the namespace clean. */
-# ifndef __UCLIBC__
# define btowc __btowc
/* We are also using some library internals. */
@@ -76,7 +75,6 @@
# include <langinfo.h>
# include <locale/coll-lookup.h>
# endif
-# endif
/* This is for other GNU distributions with internationalized messages. */
# if defined HAVE_LIBINTL_H || defined _LIBC