about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/limits.h b/include/limits.h
index f8314a56..54d1940b 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -9,7 +9,7 @@
 
 /* Support signed or unsigned plain-char */
 
-#ifdef __CHAR_UNSIGNED__
+#if '\0'-1 > 0
 #define CHAR_MIN 0
 #define CHAR_MAX 255
 #else