소스 검색

Fix compilation with MSVC 2013

Błażej Szczygieł 8 년 전
부모
커밋
570a8e6b40
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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