diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-12 10:06:08 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-12 10:06:08 +0200 |
commit | 1c07717d3e69002000da742ca3c4583ec1e8686f (patch) | |
tree | 96a8ea914efba00f7786cf00e429fbf4b7f6938c | |
parent | e4f81fb79e75e8e5d17d7906479c37eaf51b9be2 (diff) | |
parent | 87fcee2d7fe34fe1ee1de462d56b7f4207672c02 (diff) | |
download | redot-engine-1c07717d3e69002000da742ca3c4583ec1e8686f.tar.gz |
Merge pull request #76974 from dsnopek/linuxbsd-feature-tags
Fix 'linux' and specific BSD feature tags
-rw-r--r-- | platform/linuxbsd/os_linuxbsd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/linuxbsd/os_linuxbsd.cpp b/platform/linuxbsd/os_linuxbsd.cpp index 82500f83cb..c8e50e0076 100644 --- a/platform/linuxbsd/os_linuxbsd.cpp +++ b/platform/linuxbsd/os_linuxbsd.cpp @@ -494,6 +494,11 @@ bool OS_LinuxBSD::_check_internal_feature_support(const String &p_feature) { return true; } + // Match against the specific OS (linux, freebsd, etc). + if (p_feature == get_name().to_lower()) { + return true; + } + return false; } |