OSDN Git Service

silence warning about undefined CPP token
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 13 Nov 2009 14:59:25 +0000 (15:59 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 13 Nov 2009 14:59:25 +0000 (15:59 +0100)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/ctype.h

index da73a44..2d62847 100644 (file)
@@ -281,7 +281,7 @@ __NTH (toupper (int __c))
 # if defined __USE_SVID || defined __USE_MISC || defined __USE_XOPEN
 #  define isascii(c)   __isascii (c)
 #  define toascii(c)   __toascii (c)
-#  if __UCLIBC_SUSV4_LEGACY__
+#  if defined __UCLIBC_SUSV4_LEGACY__
 #    define _tolower(c)        ((int) (__UCLIBC_CTYPE_TOLOWER)[(int) (c)])
 #    define _toupper(c)        ((int) (__UCLIBC_CTYPE_TOUPPER)[(int) (c)])
 #   endif