浏览代码

simplify guard of uClibc internals

Simplify guard of uClibc internals, since _LIBC sections are removed on install.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Peter S. Mazinger 14 年之前
父节点
当前提交
ca8f0d9cf3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/sysdeps/linux/common/bits/uClibc_ctype.h

+ 1 - 1
libc/sysdeps/linux/common/bits/uClibc_ctype.h

@@ -95,7 +95,7 @@
 /**********************************************************************/
 /**********************************************************************/
 __BEGIN_DECLS
 __BEGIN_DECLS
 
 
-#if defined _LIBC && (defined NOT_IN_libc || defined IS_IN_libc)
+#ifdef _LIBC
 /* These are uClibc-specific. */
 /* These are uClibc-specific. */
 # define __isdigit_char(c) ((unsigned char)((c) - '0') <= 9)
 # define __isdigit_char(c) ((unsigned char)((c) - '0') <= 9)
 # define __isdigit_int(c)  ((unsigned int)((c) - '0') <= 9)
 # define __isdigit_int(c)  ((unsigned int)((c) - '0') <= 9)