diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-04-07 15:21:48 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-04-07 15:21:48 +0200 |
commit | 309edb070d7644550f96bce2d89b0ac145b3940e (patch) | |
tree | c158313029ab8147568638a8b98ea101a561f326 /ext/standard/string.c | |
parent | 06fc66ed7c86b09120bfc2696ab0a6a9954829a9 (diff) | |
parent | fd1ad1e25a6d0676a560d237ff5f44faa6e1dc87 (diff) | |
download | php-git-309edb070d7644550f96bce2d89b0ac145b3940e.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove HAVE_LIMITS_H
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index 1f18bb23d8..60b19542ec 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -90,12 +90,6 @@ void register_string_constants(INIT_FUNC_ARGS) #ifdef HAVE_LOCALECONV /* If last members of struct lconv equal CHAR_MAX, no grouping is done */ - -/* This is bad, but since we are going to be hardcoding in the POSIX stuff anyway... */ -# ifndef HAVE_LIMITS_H -# define CHAR_MAX 127 -# endif - REGISTER_LONG_CONSTANT("CHAR_MAX", CHAR_MAX, CONST_CS | CONST_PERSISTENT); #endif |