From 782dc574df8531aafedc9bab6fe935c9227221bb Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 9 May 2010 23:25:09 -0500 Subject: [PATCH] "VC 2010 Build" [Chris Danford] Nobody on the team owns VS2k10 so we can't test this, but in case someone else makes a project file, this is one less thing you have to do to get things working. --- src/archutils/Win32/arch_setup.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/archutils/Win32/arch_setup.h b/src/archutils/Win32/arch_setup.h index d94103dc8c..60f574f053 100644 --- a/src/archutils/Win32/arch_setup.h +++ b/src/archutils/Win32/arch_setup.h @@ -109,7 +109,9 @@ typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #define INT64_C(i) i##i64 #define UINT64_C(i) i##i64 +#if _MSC_VER < 1600 // 1600 = VC++ 2010 static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; } +#endif // #if _MSC_VER < 1600 #endif #undef min