소스 검색

silence warning about undefined CPP token

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 14 년 전
부모
커밋
eaacd088ac
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/ctype.h

+ 1 - 1
include/ctype.h

@@ -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