summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-03-19 17:45:44 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-03-19 17:45:44 +0000
commit9ae054b3553801ed1e7b3532fe929abb36a0cf3d (patch)
treef5e5a639dc361882044cfdeb89d2ec43b202b72a /libc/misc
parent3a1407ff3bb4e1fc448dfe5325caaeb891eb5411 (diff)
Since Erik apparently wants def/undef vs def 1/0...
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/ctype/ctype.c4
-rw-r--r--libc/misc/locale/locale.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c
index 38da17f26..8d6a1dba7 100644
--- a/libc/misc/ctype/ctype.c
+++ b/libc/misc/ctype/ctype.c
@@ -39,7 +39,7 @@ toascii( int c )
/* locale depended */
-#if !__UCLIBC_HAS_LOCALE__
+#ifndef __UCLIBC_HAS_LOCALE__
#ifdef L_isalpha
int
@@ -154,7 +154,7 @@ toupper( int c )
}
#endif
-#else /* __UCLIBC_HAS_LOCALE__ == 1 */
+#else /* __UCLIBC_HAS_LOCALE__ */
#include <limits.h>
#include "./ctype.h"
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c
index 109573871..1cb7a3b81 100644
--- a/libc/misc/locale/locale.c
+++ b/libc/misc/locale/locale.c
@@ -25,7 +25,7 @@
#ifdef L_setlocale
-#if __UCLIBC_HAS_LOCALE__
+#ifdef __UCLIBC_HAS_LOCALE__
static char C_LOCALE_NAME[]="C";