]> granicus.if.org Git - php/commitdiff
make this work in vc11 too
authorRalf Lang <lang@b1-systems.de>
Mon, 22 Jul 2013 19:26:38 +0000 (21:26 +0200)
committerMichael Wallner <mike@php.net>
Tue, 6 Aug 2013 20:51:58 +0000 (22:51 +0200)
main/SAPI.h
main/rfc1867.c

index 6d5434d141b5472107e97f3244372952fbbc08ec..6fc60c886513e71ce36b2e13caceb17be557d817 100644 (file)
@@ -27,6 +27,7 @@
 #include "zend_operators.h"
 #ifdef PHP_WIN32
 #include "win95nt.h"
+#include "win32/php_stdint.h"
 #endif
 #include <sys/stat.h>
 
index d3adf4711407fdc520b4aeb84ed927eca03c4627..8460929108e10adc79b425a5c3f04fc0bf5bcf6d 100644 (file)
 #include "rfc1867.h"
 #include "ext/standard/php_string.h"
 
+#if defined(_MSC_VER)
+# define atoll(s) _atoi64(s)
+#endif
+
 #define DEBUG_FILE_UPLOAD ZEND_DEBUG
 
 static int dummy_encoding_translation(TSRMLS_D)