Use mingw-std-threads in MinGW builds
This commit is contained in:
parent
ad72de5083
commit
fe4850c0d0
29 changed files with 2342 additions and 28 deletions
|
|
@ -37,6 +37,12 @@
|
|||
#include "core/templates/vector.h"
|
||||
#include "core/variant/variant.h"
|
||||
|
||||
#ifdef MINGW_ENABLED
|
||||
#undef CONST
|
||||
#undef IN
|
||||
#undef VOID
|
||||
#endif
|
||||
|
||||
class GDScriptTokenizer {
|
||||
public:
|
||||
enum CursorPlace {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue