shithub: libvpx

Download patch

ref: 1ea04d980c384d7965898082275288fc09efda5f
parent: ac468dde468c4f6f0a48ec14d63341d4677a5d1f
parent: 3806bab2838e73573e2fb814f5605d4092e78c3e
author: Johann <johannkoenig@google.com>
date: Fri Oct 11 13:26:29 EDT 2013

Merge "Get libvpx to compile on VS2013."

--- a/vp9/common/vp9_systemdependent.h
+++ b/vp9/common/vp9_systemdependent.h
@@ -24,8 +24,8 @@
 #define vp9_clear_system_state()
 #endif
 
-#ifdef _MSC_VER
-// round is not defined in MSVC
+#if defined(_MSC_VER) && _MSC_VER < 1800
+// round is not defined in MSVC before VS2013.
 static int round(double x) {
   if (x < 0)
     return (int)ceil(x - 0.5);
--