diff options
author | Ondřej Surý <ondrej@sury.org> | 2010-03-09 11:57:54 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2010-03-09 11:57:54 +0100 |
commit | 855a09f4eded707941180c9d90acd17c25e29447 (patch) | |
tree | a40947efaa9876f31b6ee3956c3f3775768143bb /win32/php_stdint.h | |
parent | c852c28a88fccf6e34a2cb091fdfa72bce2b59c7 (diff) | |
download | php-855a09f4eded707941180c9d90acd17c25e29447.tar.gz |
Imported Upstream version 5.3.2upstream/5.3.2
Diffstat (limited to 'win32/php_stdint.h')
-rw-r--r-- | win32/php_stdint.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win32/php_stdint.h b/win32/php_stdint.h index 6eb8ce48f..5df1df477 100644 --- a/win32/php_stdint.h +++ b/win32/php_stdint.h @@ -238,7 +238,12 @@ typedef uint64_t uintmax_t; #define INTMAX_C INT64_C #define UINTMAX_C UINT64_C -static __inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; } +#if _MSC_VER < 1600 +static __inline int64_t llabs(int64_t i) +{ + return i >= 0 ? i: -i; +} +#endif #endif // __STDC_CONSTANT_MACROS ] |