Add haiku

This commit is contained in:
2026-10-17 05:13:42 -05:00
parent e4ca34aa59
commit b964ea04df
2 changed files with 11 additions and 6 deletions
+1
View File
@@ -30,6 +30,7 @@ Tesses Framework
- MacOS - MacOS
- FreeBSD (including GhostBSD) - FreeBSD (including GhostBSD)
- NetBSD - NetBSD
- Haiku (only static builds work as of right now)
- Wii (using libogc2, may be broken) - Wii (using libogc2, may be broken)
- Switch (using libnx, may be broken) - Switch (using libnx, may be broken)
- Android (kinda, uses legacy and hardcoded /sdcard api unless you use TF_AllowPortable(std::string)) - Android (kinda, uses legacy and hardcoded /sdcard api unless you use TF_AllowPortable(std::string))
+10 -6
View File
@@ -332,14 +332,18 @@ std::string GetPlatform() {
#if TARGET_OS_WATCH #if TARGET_OS_WATCH
return "Apple Watch"; return "Apple Watch";
#endif #endif
#if __EMSCRIPTEN__
return "WebAssembly";
#endif
return "Unknown Apple Device"; return "Unknown Apple Device";
#endif #endif
#if defined(__EMSCRIPTEN__)
return "WebAssembly";
#endif
#if defined(__HAIKU__)
return "Haiku";
#endif
#if defined(__TessesOS__)
return "TessesOS";
#endif
return "Unknown"; return "Unknown";
} }
} // namespace Tesses::Framework::Platform::Environment } // namespace Tesses::Framework::Platform::Environment