Skip to content

Commit b07e55f

Browse files
committed
make this work in vc11 too
1 parent a2394df commit b07e55f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

main/SAPI.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "zend_operators.h"
2828
#ifdef PHP_WIN32
2929
#include "win95nt.h"
30+
#include "win32/php_stdint.h"
3031
#endif
3132
#include <sys/stat.h>
3233

main/rfc1867.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
#include "rfc1867.h"
3535
#include "ext/standard/php_string.h"
3636

37+
#if defined(_MSC_VER)
38+
# define atoll(s) _atoi64(s)
39+
#endif
40+
3741
#define DEBUG_FILE_UPLOAD ZEND_DEBUG
3842

3943
static int dummy_encoding_translation(TSRMLS_D)

0 commit comments

Comments
 (0)