projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent shmget from allocating objects that overflow ptrdiff_t
[oweals/musl.git]
/
include
/
limits.h
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 */
/* Support signed or unsigned plain-char */
-#if
def __CHAR_UNSIGNED__
+#if
'\0'-1 > 0
#define CHAR_MIN 0
#define CHAR_MAX 255
#else
#define CHAR_MIN 0
#define CHAR_MAX 255
#else