summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-08-17 19:51:36 +0000
committerEric Andersen <andersen@codepoet.org>2001-08-17 19:51:36 +0000
commit6b4fb152ab9849b400398751d48995d326ad0ee0 (patch)
tree8fb9c449668bd452c5c98a1f5dfa42f8eafeaeb5 /include
parent258f0380264acd8972bafabf463823514b6e13e8 (diff)
Fix a silly bug with the header file
Diffstat (limited to 'include')
-rw-r--r--include/ctype.h6
1 files changed, 3 insertions, 3 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))