summaryrefslogtreecommitdiffstats
path: root/modules/gltf/editor
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 /modules/gltf/editor
parentad72de508363ca8d10c6b148be44a02cdf12be13 (diff)
downloadredot-engine-fe4850c0d0e8eed3fe851007c667206684aab0fc.tar.gz
Use mingw-std-threads in MinGW builds
Diffstat (limited to 'modules/gltf/editor')
-rw-r--r--modules/gltf/editor/editor_scene_importer_blend.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gltf/editor/editor_scene_importer_blend.cpp b/modules/gltf/editor/editor_scene_importer_blend.cpp
index 2fad475e92..9587604e56 100644
--- a/modules/gltf/editor/editor_scene_importer_blend.cpp
+++ b/modules/gltf/editor/editor_scene_importer_blend.cpp
@@ -45,6 +45,11 @@
#include "main/main.h"
#include "scene/gui/line_edit.h"
+#ifdef MINGW_ENABLED
+#define near
+#define far
+#endif
+
#ifdef WINDOWS_ENABLED
#include <shlwapi.h>
#endif