Index: source/libvpx/vp9/common/vp9_systemdependent.h |
=================================================================== |
--- source/libvpx/vp9/common/vp9_systemdependent.h (revision 263011) |
+++ source/libvpx/vp9/common/vp9_systemdependent.h (working copy) |
@@ -12,11 +12,11 @@ |
#define VP9_COMMON_VP9_SYSTEMDEPENDENT_H_ |
#ifdef _MSC_VER |
+# include <math.h> // the ceil() definition must precede intrin.h |
# if _MSC_VER > 1310 && (defined(_M_X64) || defined(_M_IX86)) |
# include <intrin.h> |
# define USE_MSC_INTRIN |
# endif |
-# include <math.h> |
# define snprintf _snprintf |
#endif |