[git commit master] silence warning about undefined CPP token

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Nov 13 14:59:25 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=eaacd088acf8653e22a0fa6193e63942850e6751
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.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