summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-13 15:35:39 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:23 +0200
commit9b7e3299c3ad789e60e093312f7360999e64e676 (patch)
treeccee310c5354b20a61edca8b1337b9c9eeac28e8
parent532c68d561128b390b5436f2962c2f47aa8bc5f0 (diff)
regex_old.c: remove unneeded guard
_LIBC is undefined here, no need to specially guard with __UCLIBC__ Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-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