summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli.h
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2006-04-05 12:17:08 +0000
committerGeorg Richter <georg@php.net>2006-04-05 12:17:08 +0000
commit0944a471076766a34b2ad2aac21aa34748c6e791 (patch)
tree4cfa9daf9bba15fde28ba43bcd2f4384d00db8e1 /ext/mysqli/php_mysqli.h
parente25a1dccac9cbed2cb8d8860519e2ab49e25d30a (diff)
downloadphp-git-0944a471076766a34b2ad2aac21aa34748c6e791.tar.gz
fixed bigint conversion on windows platforms
Diffstat (limited to 'ext/mysqli/php_mysqli.h')
-rw-r--r--ext/mysqli/php_mysqli.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysqli/php_mysqli.h b/ext/mysqli/php_mysqli.h
index 79225b5cc7..8933010bc8 100644
--- a/ext/mysqli/php_mysqli.h
+++ b/ext/mysqli/php_mysqli.h
@@ -118,8 +118,12 @@ typedef struct {
#ifdef PHP_WIN32
#define PHP_MYSQLI_API __declspec(dllexport)
+#define MYSQLI_LLU_SPEC "%I64u"
+#define MYSQLI_LL_SPEC "%I64d"
#else
#define PHP_MYSQLI_API
+#define MYSQLI_LLU_SPEC "%llu"
+#define MYSQLI_LL_SPEC "%lld"
#endif
#ifdef ZTS