diff options
author | Lior Kaplan <kaplanlior@gmail.com> | 2014-07-17 23:10:08 +0300 |
---|---|---|
committer | Lior Kaplan <kaplanlior@gmail.com> | 2014-07-17 23:10:08 +0300 |
commit | 84673485f5b3134e357f6ec90bbaab9ffec11a68 (patch) | |
tree | f912c828dd9bd98eac7445186eec192ee9c4a98b | |
parent | c186ce8fefd3d5de2ef34054f78afb3b9027a72f (diff) | |
download | php-git-84673485f5b3134e357f6ec90bbaab9ffec11a68.tar.gz |
Enable build without atoll (e.g old AIX flavours)
-rw-r--r-- | main/rfc1867.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c index b1011e21cb..c93472f5a1 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -903,7 +903,11 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */ } if (!strcasecmp(param, "MAX_FILE_SIZE")) { +#ifdef HAVE_ATOLL max_file_size = atoll(value); +#else + max_file_size = strtoll(value, NULL, 10); +#endif } efree(param); |