diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-11-17 20:44:38 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-11-18 11:56:05 +0100 |
commit | fe4850c0d0e8eed3fe851007c667206684aab0fc (patch) | |
tree | c71ad807d00a3ed83a8f73dd630b62ed76cca211 /scene/debugger | |
parent | ad72de508363ca8d10c6b148be44a02cdf12be13 (diff) | |
download | redot-engine-fe4850c0d0e8eed3fe851007c667206684aab0fc.tar.gz |
Use mingw-std-threads in MinGW builds
Diffstat (limited to 'scene/debugger')
-rw-r--r-- | scene/debugger/scene_debugger.cpp | 5 |
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(); |