Commit 352db1d1 authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review
Browse files

Merge "Convert small static header functions to inline"

Showing with 1 addition and 1 deletion
...@@ -34,7 +34,7 @@ void vpx_reset_mmx_state(void); ...@@ -34,7 +34,7 @@ void vpx_reset_mmx_state(void);
#if defined(_MSC_VER) && _MSC_VER < 1800 #if defined(_MSC_VER) && _MSC_VER < 1800
// round is not defined in MSVC before VS2013. // round is not defined in MSVC before VS2013.
static int round(double x) { static INLINE int round(double x) {
if (x < 0) if (x < 0)
return (int)ceil(x - 0.5); return (int)ceil(x - 0.5);
else else
......
Supports Markdown
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