1
0
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:
Rémi Verschelde
2025-04-29 12:00:50 +02:00
parent ce94b26de7
commit c019b76523
15 changed files with 46 additions and 73 deletions

View File

@@ -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,