Skip to content

Commit c1717ed

Browse files
committed
- Fix *printf(%lld) under windows
1 parent 7976182 commit c1717ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main/snprintf.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
| license@php.net so we can mail you a copy immediately. |
1414
+----------------------------------------------------------------------+
1515
| Author: Stig Sæther Bakken <ssb@php.net> |
16+
| Marcus Boerger <helly@php.net> |
1617
+----------------------------------------------------------------------+
1718
*/
1819

@@ -114,7 +115,7 @@ extern char * ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altfor
114115
# define WIDE_INT long long int
115116
#elif SIZEOF_LONG_LONG
116117
# define WIDE_INT long long
117-
#elif _WIN64
118+
#elif PHP_WIN32
118119
# define WIDE_INT __int64
119120
#else
120121
# define WIDE_INT long

0 commit comments

Comments
 (0)