| Index: source/libvpx/vp9/common/vp9_systemdependent.h
|
| ===================================================================
|
| --- source/libvpx/vp9/common/vp9_systemdependent.h (revision 228248)
|
| +++ source/libvpx/vp9/common/vp9_systemdependent.h (working copy)
|
| @@ -23,8 +23,8 @@
|
| #define vp9_clear_system_state()
|
| #endif
|
|
|
| -#ifdef _MSC_VER
|
| -// round is not defined in MSVC
|
| +#if defined(_MSC_VER) && _MSC_VER < 1800
|
| +// round is not defined in MSVC before VS2013.
|
| static int round(double x) {
|
| if (x < 0)
|
| return (int)ceil(x - 0.5);
|
|
|