Enable build without atoll (e.g old AIX flavours)

This commit is contained in:
Lior Kaplan 2014-07-17 23:10:08 +03:00
parent c186ce8fef
commit 84673485f5

View File

@ -903,7 +903,11 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */
} }
if (!strcasecmp(param, "MAX_FILE_SIZE")) { if (!strcasecmp(param, "MAX_FILE_SIZE")) {
#ifdef HAVE_ATOLL
max_file_size = atoll(value); max_file_size = atoll(value);
#else
max_file_size = strtoll(value, NULL, 10);
#endif
} }
efree(param); efree(param);