Skip to content

Commit 8467348

Browse files
committed
Enable build without atoll (e.g old AIX flavours)
1 parent c186ce8 commit 8467348

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main/rfc1867.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,11 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */
903903
}
904904

905905
if (!strcasecmp(param, "MAX_FILE_SIZE")) {
906+
#ifdef HAVE_ATOLL
906907
max_file_size = atoll(value);
908+
#else
909+
max_file_size = strtoll(value, NULL, 10);
910+
#endif
907911
}
908912

909913
efree(param);

0 commit comments

Comments
 (0)