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

Austin Foxley austinf at cetoncorp.com
Fri Apr 23 14:31:55 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=b45dbc623ca090dea674c1fd1d8b6ccdddbcc71d
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