Commit d65ea85c authored by James Zern's avatar James Zern

vpx_ports/msvc.h: include math.h for ceil/floor

fixes visual studio build errors

Change-Id: I5d24f91c74572a75dfa77b9384d6614de231dc50
parent 6032239e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment