shithub: libvpx

Download patch

ref: 850a919640030a7a9813163491cf7c5bde77ce65
parent: b4148c3a03a1f91d3b6d931d22d9cd5c44879bfe
author: Yaowu Xu <yaowu@google.com>
date: Wed Oct 9 08:15:50 EDT 2013

Added #define of snprintf for MSVC

snprintf is not supported by MSVC, the commit replace it with the msvc
variant _snprintf to enable build.

Change-Id: I686943a78c289bae6b486a5e75effad5f86c24de

--- a/vp9/common/vp9_systemdependent.h
+++ b/vp9/common/vp9_systemdependent.h
@@ -13,6 +13,7 @@
 
 #ifdef _MSC_VER
 #include <math.h>
+#define snprintf _snprintf
 #endif
 
 #include "./vpx_config.h"