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:
@@ -44,10 +44,6 @@ class HBoxContainer;
|
||||
class VisualShaderEditor;
|
||||
class WindowWrapper;
|
||||
|
||||
#ifdef MINGW_ENABLED
|
||||
#undef FILE_OPEN
|
||||
#endif
|
||||
|
||||
class ShaderEditorPlugin : public EditorPlugin {
|
||||
GDCLASS(ShaderEditorPlugin, EditorPlugin);
|
||||
|
||||
@@ -64,7 +60,7 @@ class ShaderEditorPlugin : public EditorPlugin {
|
||||
enum {
|
||||
FILE_NEW,
|
||||
FILE_NEW_INCLUDE,
|
||||
FILE_OPEN,
|
||||
FILE_OPEN_,
|
||||
FILE_OPEN_INCLUDE,
|
||||
FILE_SAVE,
|
||||
FILE_SAVE_AS,
|
||||
|
||||
Reference in New Issue
Block a user