Преглед на файлове

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 преди 16 години
родител
ревизия
b45dbc623c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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! */