projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6032239
)
vpx_ports/msvc.h: include math.h for ceil/floor
author
James Zern
<jzern@google.com>
Sat, 8 Aug 2015 18:11:23 +0000
(11:11 -0700)
committer
James Zern
<jzern@google.com>
Sat, 8 Aug 2015 18:11:23 +0000
(11:11 -0700)
fixes visual studio build errors
Change-Id: I5d24f91c74572a75dfa77b9384d6614de231dc50
vpx_ports/msvc.h
patch
|
blob
|
history
diff --git
a/vpx_ports/msvc.h
b/vpx_ports/msvc.h
index
b08d216
..
cab7740
100644
(file)
--- 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);