mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove WinAPI #undef hacks needed for mingw-std-threads
Instead, we rename the conflicting symbols.
This commit is contained in:
parent
ce94b26de7
commit
c019b76523
15 changed files with 46 additions and 73 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue