[git commit nptl] silence warning about undefined CPP token

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Nov 22 08:37:56 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=5133b27934f4e5f91119bcfdc70be274f8394a9e
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 include/ctype.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/ctype.h b/include/ctype.h
index da73a44..2d62847 100644
--- a/include/ctype.h
+++ b/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
-- 
1.6.3.3



More information about the uClibc-cvs mailing list