more windows hackery

This commit is contained in:
ZappoMan 2014-12-15 12:09:30 -08:00
parent d6e7211650
commit 4e7368b643

View file

@ -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 <cmath>