summaryrefslogtreecommitdiff
path: root/win32/php_stdint.h
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-12-03 11:50:32 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-12-03 11:50:32 +0000
commit1063c8346bd319ac3ca5fd6531442ff8fc8ec66c (patch)
treefe19b76eef0ab990cc880474a8bf6e6ee3e58e3d /win32/php_stdint.h
parent0f0f5f229b18e27d07e820cc3863d5dc9ea95fd0 (diff)
downloadphp-git-1063c8346bd319ac3ca5fd6531442ff8fc8ec66c.tar.gz
MFT: VC10 build support
Diffstat (limited to 'win32/php_stdint.h')
-rw-r--r--win32/php_stdint.h7
1 files changed, 6 insertions, 1 deletions
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 ]