summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-04-04 19:50:55 -0400
committerRich Felker <dalias@aerifal.cx>2013-04-04 19:50:55 -0400
commit201995f382cc698ae19289623cc06a70048ffe7b (patch)
tree96ce1af145f2183ae941587adb0d16a4e706c1ab
parentddfb267b0e72499f6022981733264a063ec881f0 (diff)
downloadmusl-201995f382cc698ae19289623cc06a70048ffe7b.tar.gz
musl-201995f382cc698ae19289623cc06a70048ffe7b.tar.bz2
musl-201995f382cc698ae19289623cc06a70048ffe7b.tar.xz
musl-201995f382cc698ae19289623cc06a70048ffe7b.zip
eliminate gcc dependency for testing char signedness in limits.h
-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