summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarroffel <therzog@mail.de>2018-07-18 15:28:49 +0200
committerkarroffel <therzog@mail.de>2018-07-18 19:28:26 +0200
commit43ae1c712fcdbe0159085386391fa1ab67aab1d7 (patch)
tree86a4402234029e8dbbd08d532d65d59b07b00d81
parentd1550b4a9ba5d416d294a3aeaaf3d4b81559915f (diff)
fix nameclash with MSVC
-rw-r--r--core/typedefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/typedefs.h b/core/typedefs.h
index 4f3c260c2c..71771ea4e6 100644
--- a/core/typedefs.h
+++ b/core/typedefs.h
@@ -97,6 +97,7 @@ T *_nullptr() {
#undef CLAMP // override standard definition
#undef Error
#undef OK
+#undef CONNECT_DEFERRED // override from Windows SDK, clashes with Object enum
#endif
#include "int_types.h"