Browse Source

uClibc_ctype.h: fix inverted check for susv4 macro

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

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 14 years ago
parent
commit
460cb81669
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/common/bits/uClibc_ctype.h

+ 1 - 1
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! */