File tree 2 files changed +1
-14
lines changed
2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,7 @@ static inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i;
51
51
int st = snprintf(s, len, "%lld", i); \
52
52
s[st] = '\0'; \
53
53
} while (0);
54
- #ifdef HAVE_ATOLL
55
- # define DATE_A64I (i , s ) i = atoll(s)
56
- #else
57
- # define DATE_A64I (i , s ) i = strtoll(s, NULL, 10)
58
- #endif
54
+ #define DATE_A64I (i , s ) i = strtoll(s, NULL, 10)
59
55
#endif
60
56
61
57
PHPAPI time_t php_time (void )
Original file line number Diff line number Diff line change 31
31
#include "ext/standard/php_string.h"
32
32
#include "zend_smart_string.h"
33
33
34
- #if defined(PHP_WIN32 ) && !defined(HAVE_ATOLL )
35
- # define atoll (s ) _atoi64(s)
36
- # define HAVE_ATOLL 1
37
- #endif
38
-
39
34
#ifndef DEBUG_FILE_UPLOAD
40
35
# define DEBUG_FILE_UPLOAD 0
41
36
#endif
@@ -903,11 +898,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */
903
898
}
904
899
905
900
if (!strcasecmp (param , "MAX_FILE_SIZE" )) {
906
- #ifdef HAVE_ATOLL
907
- max_file_size = atoll (value );
908
- #else
909
901
max_file_size = strtoll (value , NULL , 10 );
910
- #endif
911
902
}
912
903
913
904
efree (param );
You can’t perform that action at this time.
0 commit comments