summaryrefslogtreecommitdiff
path: root/main/snprintf.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-09-15 19:11:15 +0000
committerDerick Rethans <derick@php.net>2005-09-15 19:11:15 +0000
commit7199bc5f86e337dcc23025f538ac8da0526908b5 (patch)
treee224bb437fec49d7207ea4ea6e643aef9ff4d1c3 /main/snprintf.h
parentc0ffebcee66e3255c367e21a72693273acd9c6ea (diff)
downloadphp-git-7199bc5f86e337dcc23025f538ac8da0526908b5.tar.gz
- MFH: Fixed bug #34052 (date('U') returns %ld not unix timestamp).
Diffstat (limited to 'main/snprintf.h')
-rw-r--r--main/snprintf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/snprintf.h b/main/snprintf.h
index 0443750041..371f41ad76 100644
--- a/main/snprintf.h
+++ b/main/snprintf.h
@@ -111,12 +111,12 @@ extern char * ap_php_ecvt(double arg, int ndigits, int *decpt, int *sign, char *
extern char * ap_php_fcvt(double arg, int ndigits, int *decpt, int *sign, char *buf);
extern char * ap_php_gcvt(double number, int ndigit, char *buf, boolean_e altform);
-#if SIZEOF_LONG_LONG_INT
+#if PHP_WIN32
+# define WIDE_INT __int64
+#elif SIZEOF_LONG_LONG_INT
# define WIDE_INT long long int
#elif SIZEOF_LONG_LONG
# define WIDE_INT long long
-#elif PHP_WIN32
-# define WIDE_INT __int64
#else
# define WIDE_INT long
#endif