projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddfb267
)
eliminate gcc dependency for testing char signedness in limits.h
author
Rich Felker
<dalias@aerifal.cx>
Thu, 4 Apr 2013 23:50:55 +0000
(19:50 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 4 Apr 2013 23:50:55 +0000
(19:50 -0400)
include/limits.h
patch
|
blob
|
history
diff --git
a/include/limits.h
b/include/limits.h
index f8314a5685d36017191123b12f6de7454c542fd1..54d1940b439c77f40f2282682e2a3b05683dc688 100644
(file)
--- a/
include/limits.h
+++ b/
include/limits.h
@@
-9,7
+9,7
@@
/* Support signed or unsigned plain-char */
-#if
def __CHAR_UNSIGNED__
+#if
'\0'-1 > 0
#define CHAR_MIN 0
#define CHAR_MAX 255
#else