include/share/compat.h : For MSVC define inline as __inline.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 25 Jan 2013 23:11:39 +0000 (10:11 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Fri, 25 Jan 2013 23:11:39 +0000 (10:11 +1100)
include/share/compat.h

index 19f5dd6..983b045 100644 (file)
@@ -66,6 +66,7 @@
 
 #if defined(_MSC_VER)
 #define restrict __restrict
+#define inline __inline
 #endif
 
 /* adjust for compilers that can't understand using LLU suffix for uint64_t literals */