瀏覽代碼

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>
Peter S. Mazinger 14 年之前
父節點
當前提交
9b7e3299c3
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      libc/misc/regex/regex_old.c

+ 1 - 3
libc/misc/regex/regex_old.c

@@ -64,10 +64,9 @@
 #  include <wctype.h>
 #  include <wctype.h>
 # endif
 # endif
 
 
-# if defined _LIBC || defined __UCLIBC__
+# ifdef _LIBC
 /* We have to keep the namespace clean.  */
 /* We have to keep the namespace clean.  */
 
 
-# ifndef __UCLIBC__
 #  define btowc __btowc
 #  define btowc __btowc
 
 
 /* We are also using some library internals.  */
 /* We are also using some library internals.  */
@@ -76,7 +75,6 @@
 #  include <langinfo.h>
 #  include <langinfo.h>
 #  include <locale/coll-lookup.h>
 #  include <locale/coll-lookup.h>
 # endif
 # endif
-# endif
 
 
 /* This is for other GNU distributions with internationalized messages.  */
 /* This is for other GNU distributions with internationalized messages.  */
 # if defined HAVE_LIBINTL_H || defined _LIBC
 # if defined HAVE_LIBINTL_H || defined _LIBC