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
- FreeBSD (including GhostBSD)
- NetBSD
- Haiku (only static builds work as of right now)
- Wii (using libogc2, may be broken)
- Switch (using libnx, may be broken)
- Android (kinda, uses legacy and hardcoded /sdcard api unless you use TF_AllowPortable(std::string))
+8 -4
View File
@@ -332,12 +332,16 @@ std::string GetPlatform() {
#if TARGET_OS_WATCH
return "Apple Watch";
#endif
#if __EMSCRIPTEN__
return "Unknown Apple Device";
#endif
#if defined(__EMSCRIPTEN__)
return "WebAssembly";
#endif
return "Unknown Apple Device";
#if defined(__HAIKU__)
return "Haiku";
#endif
#if defined(__TessesOS__)
return "TessesOS";
#endif
return "Unknown";