aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Platform.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/Platform.hpp b/include/Platform.hpp
index 955df57..6075383 100644
--- a/include/Platform.hpp
+++ b/include/Platform.hpp
@@ -35,7 +35,11 @@ namespace sibs
PLATFORM_HAIKU = 1 << 24 | PLATFORM_POSIX,
PLATFORM_HAIKU32 = 1 << 25 | PLATFORM_HAIKU | PLATFORM_POSIX32,
- PLATFORM_HAIKU64 = 1 << 26 | PLATFORM_HAIKU | PLATFORM_POSIX64
+ PLATFORM_HAIKU64 = 1 << 26 | PLATFORM_HAIKU | PLATFORM_POSIX64,
+
+ PLATFORM_LINUX_ARM = 1 << 27 | PLATFORM_LINUX,
+ PLATFORM_LINUX_ARM32 = 1 << 28 | PLATFORM_LINUX32,
+ PLATFORM_LINUX_ARM64 = 1 << 29 | PLATFORM_LINUX64
};
const StringViewMap<Platform> PLATFORM_BY_NAME = {
@@ -59,6 +63,9 @@ namespace sibs
{ "haiku", PLATFORM_HAIKU },
{ "haiku32", PLATFORM_HAIKU32 },
{ "haiku64", PLATFORM_HAIKU64 },
+ { "linux_arm", PLATFORM_LINUX_ARM },
+ { "linux_arm32", PLATFORM_LINUX_ARM32 },
+ { "linux_arm64", PLATFORM_LINUX_ARM64 }
};
bool containsPlatform(const std::vector<Platform> &platforms, Platform platform);