From b45dbc623ca090dea674c1fd1d8b6ccdddbcc71d Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Mon, 30 Nov 2009 20:43:56 -0800 Subject: 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 --- libc/sysdeps/linux/common/bits/uClibc_ctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! */ -- cgit v1.2.3