summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
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:51:22 -0800
commitb45dbc623ca090dea674c1fd1d8b6ccdddbcc71d (patch)
tree84c0fc9375826c8ab048bd09668540fb398c5649 /libc/sysdeps/linux/common/bits
parent989500b616ca4cd3838184198ac90643fdb7f528 (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/bits')
-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! */