mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
more windows hackery
This commit is contained in:
parent
d6e7211650
commit
4e7368b643
1 changed files with 5 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue