Browse Source

Fix compilation with MSVC 2013

Błażej Szczygieł 8 years ago
parent
commit
570a8e6b40
1 changed files with 5 additions and 1 deletions
  1. 5 1
      thirdparty/libvpx/vpx_config.h

+ 5 - 1
thirdparty/libvpx/vpx_config.h

@@ -9,7 +9,11 @@
 #ifndef VPX_CONFIG_H
 #define VPX_CONFIG_H
 #define RESTRICT
-#define INLINE inline
+#if defined(_MSC_VER) && (_MSC_VER < 1900)
+	#define INLINE __inline
+#else
+	#define INLINE inline
+#endif
 
 #define HAVE_MIPS32 0
 #define HAVE_MEDIA 0