From 1063c8346bd319ac3ca5fd6531442ff8fc8ec66c Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 3 Dec 2009 11:50:32 +0000 Subject: MFT: VC10 build support --- win32/php_stdint.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'win32/php_stdint.h') diff --git a/win32/php_stdint.h b/win32/php_stdint.h index 6eb8ce48f0..5df1df4777 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 ] -- cgit v1.2.1