summaryrefslogtreecommitdiff
path: root/main/snprintf.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-07-08 20:19:38 +0000
committerMarcus Boerger <helly@php.net>2005-07-08 20:19:38 +0000
commitc1717ed8e65b6cb2aac11ea1c29cba1e5622c6dd (patch)
treeb612f25a3d92b2302f554a07e777d931b81f87c9 /main/snprintf.h
parent7976182b9484c0a51934fc6d76cce6cb1081c5a2 (diff)
downloadphp-git-c1717ed8e65b6cb2aac11ea1c29cba1e5622c6dd.tar.gz
- Fix *printf(%lld) under windows
Diffstat (limited to 'main/snprintf.h')
-rw-r--r--main/snprintf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/snprintf.h b/main/snprintf.h
index f921ad14cd..2ffd2a7a6b 100644
--- a/main/snprintf.h
+++ b/main/snprintf.h
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Stig Sæther Bakken <ssb@php.net> |
+ | Marcus Boerger <helly@php.net> |
+----------------------------------------------------------------------+
*/
@@ -114,7 +115,7 @@ extern char * ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altfor
# define WIDE_INT long long int
#elif SIZEOF_LONG_LONG
# define WIDE_INT long long
-#elif _WIN64
+#elif PHP_WIN32
# define WIDE_INT __int64
#else
# define WIDE_INT long