summaryrefslogtreecommitdiffstats
path: root/scene/debugger
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2023-11-17 20:44:38 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2023-11-18 11:56:05 +0100
commitfe4850c0d0e8eed3fe851007c667206684aab0fc (patch)
treec71ad807d00a3ed83a8f73dd630b62ed76cca211 /scene/debugger
parentad72de508363ca8d10c6b148be44a02cdf12be13 (diff)
downloadredot-engine-fe4850c0d0e8eed3fe851007c667206684aab0fc.tar.gz
Use mingw-std-threads in MinGW builds
Diffstat (limited to 'scene/debugger')
-rw-r--r--scene/debugger/scene_debugger.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp
index 79cd1056dd..5603b2dbe4 100644
--- a/scene/debugger/scene_debugger.cpp
+++ b/scene/debugger/scene_debugger.cpp
@@ -72,6 +72,11 @@ void SceneDebugger::deinitialize() {
}
}
+#ifdef MINGW_ENABLED
+#undef near
+#undef far
+#endif
+
#ifdef DEBUG_ENABLED
Error SceneDebugger::parse_message(void *p_user, const String &p_msg, const Array &p_args, bool &r_captured) {
SceneTree *scene_tree = SceneTree::get_singleton();