]> granicus.if.org Git - libvpx/commitdiff
Added #define of snprintf for MSVC
authorYaowu Xu <yaowu@google.com>
Wed, 9 Oct 2013 19:15:50 +0000 (12:15 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 9 Oct 2013 19:16:53 +0000 (12:16 -0700)
snprintf is not supported by MSVC, the commit replace it with the msvc
variant _snprintf to enable build.

Change-Id: I686943a78c289bae6b486a5e75effad5f86c24de

vp9/common/vp9_systemdependent.h

index cc909e23e1e60836f74f92a5f96a332db67e1dcf..b8d161d190f809b33905faa37eab2d8ceeeb9ea6 100644 (file)
@@ -13,6 +13,7 @@
 
 #ifdef _MSC_VER
 #include <math.h>
+#define snprintf _snprintf
 #endif
 
 #include "./vpx_config.h"