diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-02-20 21:37:08 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 29fa87b048c20a1e6e648cb874c6da1cb7f1766a (patch) | |
tree | bc200dbe34e581bc58cd7c691addb55bb1a13a7f /include | |
parent | ce78a25ca562b44c2ff331d0ca3b6eef373fe569 (diff) |
Add arm32/64 support
Diffstat (limited to 'include')
-rw-r--r-- | include/Platform.hpp | 9 |
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); |