From 201995f382cc698ae19289623cc06a70048ffe7b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 4 Apr 2013 19:50:55 -0400 Subject: [PATCH] eliminate gcc dependency for testing char signedness in limits.h --- include/limits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1