You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Remove WinAPI #undef hacks needed for mingw-std-threads
Instead, we rename the conflicting symbols.
This commit is contained in:
@@ -230,17 +230,13 @@ class EditorScriptCodeCompletionCache;
|
||||
class FindInFilesDialog;
|
||||
class FindInFilesPanel;
|
||||
|
||||
#ifdef MINGW_ENABLED
|
||||
#undef FILE_OPEN
|
||||
#endif
|
||||
|
||||
class ScriptEditor : public PanelContainer {
|
||||
GDCLASS(ScriptEditor, PanelContainer);
|
||||
|
||||
enum {
|
||||
FILE_NEW,
|
||||
FILE_NEW_TEXTFILE,
|
||||
FILE_OPEN,
|
||||
FILE_OPEN_, // Conflict with WinAPI.
|
||||
FILE_REOPEN_CLOSED,
|
||||
FILE_OPEN_RECENT,
|
||||
FILE_SAVE,
|
||||
|
||||
Reference in New Issue
Block a user