summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Lang <lang@b1-systems.de>2013-07-22 21:26:38 +0200
committerRalf Lang <lang@b1-systems.de>2013-07-22 21:26:38 +0200
commitb07e55fdeba5d3e415671c0981e3041841b2485e (patch)
treef6f0e1ff881adedcd410e75850cbcf48da8c7f7c
parenta2394df90e86a24a61f1267b5767017e2e769b2a (diff)
downloadphp-git-b07e55fdeba5d3e415671c0981e3041841b2485e.tar.gz
make this work in vc11 too
-rw-r--r--main/SAPI.h1
-rw-r--r--main/rfc1867.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 6d5434d141..6fc60c8865 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -27,6 +27,7 @@
#include "zend_operators.h"
#ifdef PHP_WIN32
#include "win95nt.h"
+#include "win32/php_stdint.h"
#endif
#include <sys/stat.h>
diff --git a/main/rfc1867.c b/main/rfc1867.c
index d3adf47114..8460929108 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -34,6 +34,10 @@
#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)