From: Yaowu Xu Date: Mon, 9 Nov 2015 20:07:25 +0000 (-0800) Subject: Get test to build with MSVC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bc259db3d56aaf013ff7b6ab572b71aace487fd;p=libvpx 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 --- 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"