ref: d65ea85ce684657c3c4a5b4b2f99f63c1ce0a711
parent: 6032239e2faeaf132d809f00cf6da4c285a07000
author: James Zern <[email protected]>
date: Sat Aug 8 07:11:23 EDT 2015
vpx_ports/msvc.h: include math.h for ceil/floor fixes visual studio build errors Change-Id: I5d24f91c74572a75dfa77b9384d6614de231dc50
--- a/vpx_ports/msvc.h
+++ b/vpx_ports/msvc.h
@@ -19,6 +19,7 @@
# endif // _MSC_VER < 1900
#if _MSC_VER < 1800 // VS2013 provides round
+#include <math.h>
static INLINE double round(double x) {
if (x < 0)
return ceil(x - 0.5);