OSDN Git Service

uClibc_ctype.h: fix inverted check for susv4 macro
authorAustin Foxley <austinf@cetoncorp.com>
Tue, 1 Dec 2009 04:43:56 +0000 (20:43 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Tue, 1 Dec 2009 04:43:56 +0000 (20:43 -0800)
Was causing build failures if ctype tables were disabled and susv4 was on

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libc/sysdeps/linux/common/bits/uClibc_ctype.h

index 22d2df0..3bf4e1b 100644 (file)
@@ -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! */