summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-12 10:06:08 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-12 10:06:08 +0200
commit1c07717d3e69002000da742ca3c4583ec1e8686f (patch)
tree96a8ea914efba00f7786cf00e429fbf4b7f6938c
parente4f81fb79e75e8e5d17d7906479c37eaf51b9be2 (diff)
parent87fcee2d7fe34fe1ee1de462d56b7f4207672c02 (diff)
downloadredot-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.cpp5
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;
}