From 4e7368b643a36f6bddc9ebcd3a7af93c895d6f2d Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Mon, 15 Dec 2014 12:09:30 -0800 Subject: [PATCH] more windows hackery --- libraries/shared/src/windowshacks.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/shared/src/windowshacks.h b/libraries/shared/src/windowshacks.h index fcd2f5a7f2..3fd9d29fb3 100644 --- a/libraries/shared/src/windowshacks.h +++ b/libraries/shared/src/windowshacks.h @@ -15,6 +15,11 @@ #define hifi_windowshacks_h #ifdef WIN32 +// apparently needed to get M_PI and other defines from cmath/math.h +#define _USE_MATH_DEFINES +// needed to make sure windows doesn't go to crazy with its defines +#define WINDOWS_LEAN_AND_MEAN + #undef NOMINMAX #include