From 4bc259db3d56aaf013ff7b6ab572b71aace487fd Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Mon, 9 Nov 2015 12:07:25 -0800 Subject: [PATCH] Get test to build with MSVC Added _USE_MATH_DEFINES to make sure M_PI can be refered to definitions in math.h for MSVC Change-Id: Idca128910384593a002eb08bae72c739fb998e19 --- test/vp10_txfm_test.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/vp10_txfm_test.h b/test/vp10_txfm_test.h index 58e16c175..967d38bd8 100644 --- a/test/vp10_txfm_test.h +++ b/test/vp10_txfm_test.h @@ -13,6 +13,9 @@ #include #include +#ifdef _MSC_VER +#define _USE_MATH_DEFINES +#endif #include #include "third_party/googletest/src/include/gtest/gtest.h" -- GitLab