From: Lior Kaplan <kaplanlior@gmail.com> Date: Thu, 17 Jul 2014 20:10:08 +0000 (+0300) Subject: Enable build without atoll (e.g old AIX flavours) X-Git-Tag: PRE_PHPNG_MERGE~75^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84673485f5b3134e357f6ec90bbaab9ffec11a68;p=php Enable build without atoll (e.g old AIX flavours) --- 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);