From 6b4fb152ab9849b400398751d48995d326ad0ee0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 17 Aug 2001 19:51:36 +0000 Subject: Fix a silly bug with the header file --- include/ctype.h | 6 +++--- libc/misc/ctype/ctype.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/ctype.h b/include/ctype.h index 9cacab906..546d032f9 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -8,8 +8,6 @@ __BEGIN_DECLS -/* Locale-compatible macros/inlines have yet to be implemented. */ -#if defined(__UCLIBC_HAS_LOCALE__) && !defined(__USE_CTYPE_C_MACROS) /* function prototpes */ extern int isalnum(int c); @@ -30,7 +28,9 @@ extern int toascii(int c); extern int tolower(int c); extern int toupper(int c); -#else + +/* Locale-compatible macros/inlines have yet to be implemented. */ +#if defined(__USE_CTYPE_MACROS) && !defined __UCLIBC_HAS_LOCALE__ /* macro definitions */ #define isalnum(c) (isalpha(c) || isdigit(c)) diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c index dee4adbfd..5dc35cc72 100644 --- a/libc/misc/ctype/ctype.c +++ b/libc/misc/ctype/ctype.c @@ -11,7 +11,7 @@ * used ideas is part of the GNU C Library. */ -#define __USE_CTYPE_C_MACROS +#define __USE_CTYPE_MACROS #include #ifdef L_isascii -- cgit v1.2.3