You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Remove WinAPI #undef hacks needed for mingw-std-threads
Instead, we rename the conflicting symbols.
This commit is contained in:
@@ -328,17 +328,13 @@ class VisualShaderEditor : public ShaderEditor {
|
||||
PASTE_PARAMS_TO_MATERIAL,
|
||||
};
|
||||
|
||||
#ifdef MINGW_ENABLED
|
||||
#undef DELETE
|
||||
#endif
|
||||
|
||||
enum NodeMenuOptions {
|
||||
ADD,
|
||||
SEPARATOR, // ignore
|
||||
CUT,
|
||||
COPY,
|
||||
PASTE,
|
||||
DELETE,
|
||||
DELETE_, // Conflict with WinAPI.
|
||||
DUPLICATE,
|
||||
CLEAR_COPY_BUFFER,
|
||||
SEPARATOR2, // ignore
|
||||
|
||||
Reference in New Issue
Block a user