summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
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";