|
@@ -577,6 +577,13 @@ bool OS::has_feature(const String &p_feature) {
|
|
if (p_feature == "release")
|
|
if (p_feature == "release")
|
|
return true;
|
|
return true;
|
|
#endif
|
|
#endif
|
|
|
|
+#ifdef TOOLS_ENABLED
|
|
|
|
+ if (p_feature == "editor")
|
|
|
|
+ return true;
|
|
|
|
+#else
|
|
|
|
+ if (p_feature == "standalone")
|
|
|
|
+ return true;
|
|
|
|
+#endif
|
|
|
|
|
|
if (sizeof(void *) == 8 && p_feature == "64") {
|
|
if (sizeof(void *) == 8 && p_feature == "64") {
|
|
return true;
|
|
return true;
|