diff options
author | Yuri Sizov <yuris@humnom.net> | 2024-01-17 18:53:33 +0100 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2024-01-17 18:53:33 +0100 |
commit | b6a2c7803395b5084cc7a61e4295eee0573480ad (patch) | |
tree | d552459a9ebe45f507a867dc1aad234725b8fa67 /modules/mono/utils/path_utils.cpp | |
parent | e61cae06c6c9aab92d29f11b4a83c7d0c0fabd5b (diff) | |
parent | 0a7579b161834d052e89e9319ed248a04554e85d (diff) | |
download | redot-engine-b6a2c7803395b5084cc7a61e4295eee0573480ad.tar.gz |
Merge pull request #87286 from akien-mga/fix-preprocessor-if-ENABLED-checks
Fix `#if *_ENABLED` inconsistencies, should check if defined
Diffstat (limited to 'modules/mono/utils/path_utils.cpp')
-rw-r--r-- | modules/mono/utils/path_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/utils/path_utils.cpp b/modules/mono/utils/path_utils.cpp index aa97534675..ee17a668d7 100644 --- a/modules/mono/utils/path_utils.cpp +++ b/modules/mono/utils/path_utils.cpp @@ -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) { |