summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2016-11-15 12:10:05 +0100
committerBłażej Szczygieł <spaz16@wp.pl>2016-11-15 12:10:05 +0100
commit570a8e6b408a39471c1f4d0d20b2dc147bdcc38f (patch)
treebca51e21e3c13f5faa21d79706015ffe977ed2cd
parentbbc71083c1616047e4ef571a25d254034c69ef33 (diff)
Fix compilation with MSVC 2013
-rw-r--r--thirdparty/libvpx/vpx_config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/thirdparty/libvpx/vpx_config.h b/thirdparty/libvpx/vpx_config.h
index 7058f0327b..9ed45d4006 100644
--- a/thirdparty/libvpx/vpx_config.h
+++ b/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