]> granicus.if.org Git - php/commitdiff
Enable build without atoll (e.g old AIX flavours)
authorLior Kaplan <kaplanlior@gmail.com>
Thu, 17 Jul 2014 20:10:08 +0000 (23:10 +0300)
committerLior Kaplan <kaplanlior@gmail.com>
Thu, 17 Jul 2014 20:10:08 +0000 (23:10 +0300)
main/rfc1867.c

index b1011e21cbc456fe21d908bae8b78b8efa2b63c8..c93472f5a125dea7eb84325902aa038ba6a0b806 100644 (file)
@@ -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);