diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-04-04 19:50:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-04-04 19:50:55 -0400 |
commit | 201995f382cc698ae19289623cc06a70048ffe7b (patch) | |
tree | 96ce1af145f2183ae941587adb0d16a4e706c1ab /include | |
parent | ddfb267b0e72499f6022981733264a063ec881f0 (diff) | |
download | musl-201995f382cc698ae19289623cc06a70048ffe7b.tar.gz musl-201995f382cc698ae19289623cc06a70048ffe7b.tar.bz2 musl-201995f382cc698ae19289623cc06a70048ffe7b.tar.xz musl-201995f382cc698ae19289623cc06a70048ffe7b.zip |
eliminate gcc dependency for testing char signedness in limits.h
Diffstat (limited to 'include')
-rw-r--r-- | include/limits.h | 2 |
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 |