You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix #if *_ENABLED inconsistencies, should check if defined
Co-authored-by: Caroline Joy Bell <halotroop2288@proton.me>
This commit is contained in:
@@ -152,7 +152,7 @@ String realpath(const String &p_path) {
|
||||
}
|
||||
|
||||
return result.simplify_path();
|
||||
#elif UNIX_ENABLED
|
||||
#elif defined(UNIX_ENABLED)
|
||||
char *resolved_path = ::realpath(p_path.utf8().get_data(), nullptr);
|
||||
|
||||
if (!resolved_path) {
|
||||
|
||||
Reference in New Issue
Block a user