diff options
author | Derick Rethans <derick@php.net> | 2005-09-15 19:10:13 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2005-09-15 19:10:13 +0000 |
commit | 74929f352c06a0cc8d869a56c3cd0c846a02921c (patch) | |
tree | 5a0db34fcf3d93801846477477a3ab1d86f00410 /main/snprintf.h | |
parent | c41ae5f4b0f1189d474cd95435fbfe957d24c965 (diff) | |
download | php-git-74929f352c06a0cc8d869a56c3cd0c846a02921c.tar.gz |
- Fixed bug #34052 (date('U') returns %ld not unix timestamp).
Diffstat (limited to 'main/snprintf.h')
-rw-r--r-- | main/snprintf.h | 6 |
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 |