Add haiku
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -332,13 +332,17 @@ std::string GetPlatform() {
|
||||
#if TARGET_OS_WATCH
|
||||
return "Apple Watch";
|
||||
#endif
|
||||
|
||||
#if __EMSCRIPTEN__
|
||||
return "WebAssembly";
|
||||
#endif
|
||||
|
||||
return "Unknown Apple Device";
|
||||
#endif
|
||||
#if defined(__EMSCRIPTEN__)
|
||||
return "WebAssembly";
|
||||
#endif
|
||||
#if defined(__HAIKU__)
|
||||
return "Haiku";
|
||||
#endif
|
||||
#if defined(__TessesOS__)
|
||||
return "TessesOS";
|
||||
#endif
|
||||
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user