summaryrefslogtreecommitdiff
path: root/win32/php_strtoi64.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/php_strtoi64.h')
-rw-r--r--win32/php_strtoi64.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/php_strtoi64.h b/win32/php_strtoi64.h
new file mode 100644
index 0000000..633ecb1
--- /dev/null
+++ b/win32/php_strtoi64.h
@@ -0,0 +1,7 @@
+#if _MSC_VERS <= 1300
+#include "php.h"
+#include "php_stdint.h"
+
+PHPAPI int64_t _strtoi64(const char *nptr, char **endptr, int base);
+#define _strtoui64 _strtoi64
+#endif