[F] min/max redefined when including windows.h
parent
a9284e5a95
commit
dad4d0fa99
|
@ -27,6 +27,8 @@ THE SOFTWARE.
|
|||
#include "o3dgcCommon.h"
|
||||
|
||||
#ifdef WIN32
|
||||
/* Thank you, Microsoft, for file WinDef.h with min/max redefinition. */
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#elif __MACH__
|
||||
#include <mach/clock.h>
|
||||
|
|
Loading…
Reference in New Issue