summaryrefslogtreecommitdiff
path: root/win32/php_strtoi64.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-11-07 13:11:35 +0000
committerPierre Joye <pajoye@php.net>2008-11-07 13:11:35 +0000
commita4e137f8441ab0c49af14cae6ce15428b8efab5c (patch)
treea8c50fa03e048f72b150a948d981ed165c41a02b /win32/php_strtoi64.h
parent17c0c53c8c2afcaecaeb45b46ddf26f18531ca87 (diff)
downloadphp-git-a4e137f8441ab0c49af14cae6ce15428b8efab5c.tar.gz
- MFB: strtoi64 forward compatible replacement for VC6
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 0000000000..633ecb1059
--- /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