ref: d5bcef524205f9cf53cca403c67c80b30b4159fc
parent: 32228ac13a7a338777a573e3a9e391dc2602bcc0
parent: 239e68ddbfa038e29b9e332503721d6bbae806c3
author: Jingning Han <[email protected]>
date: Tue May 27 12:58:00 EDT 2014
Merge "Fix compiling error in MSVS"
--- a/vp9/common/x86/vp9_idct_intrin_ssse3.c
+++ b/vp9/common/x86/vp9_idct_intrin_ssse3.c
@@ -8,6 +8,11 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#if defined(_MSC_VER) && _MSC_VER <= 1500
+// Need to include math.h before calling tmmintrin.h/intrin.h
+// in certain versions of MSVS.
+#include <math.h>
+#endif
#include <tmmintrin.h> // SSSE3
#include "vp9/common/x86/vp9_idct_intrin_sse2.h"