summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-11-30 20:43:56 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-11-30 20:43:56 -0800
commit460cb81669214ece60a0104142ae38d9f3ae8fe5 (patch)
tree49865f44de34bab09af5cf97c0bbc6a7b04fbd3a /libc/sysdeps/linux/common
parent9275f4baaa55113ee6c1c9ee8b0f6d6a053a9f3e (diff)
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>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_ctype.h2
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 22d2df03a..3bf4e1b28 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! */