[git commit master] uClibc_ctype.h: fix inverted check for susv4 macro

Austin Foxley austinf at cetoncorp.com
Tue Dec 1 04:43:56 UTC 2009


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

Was causing build failures if ctype tables were disabled and susv4 was on

Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/sysdeps/linux/common/bits/uClibc_ctype.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/common/bits/uClibc_ctype.h b/libc/sysdeps/linux/common/bits/uClibc_ctype.h
index 22d2df0..3bf4e1b 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_ctype.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_ctype.h
@@ -103,7 +103,7 @@ __BEGIN_DECLS
 
 /* Now some non-ansi/iso c99 macros. */
 
-#ifndef __UCLIBC_SUSV4_LEGACY__
+#ifdef __UCLIBC_SUSV4_LEGACY__
 #define __isascii(c) (((c) & ~0x7f) == 0)
 #define __toascii(c) ((c) & 0x7f)
 /* Works correctly *only* on lowercase letters! */
-- 
1.6.3.3



More information about the uClibc-cvs mailing list