You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
The define is **not used by godot**, but in GDNative libraries. I'm not sure it should be defined there in the first place, though we shouldn't change that (for compatibility). This commit changes the platform detection order to detect mingw compiling for windows (which defines `__GNUC__`). This commit also wraps the definition around a guard to let libraries override it with a build-time define.