From 29fa87b048c20a1e6e648cb874c6da1cb7f1766a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 20 Feb 2019 21:37:08 +0100 Subject: Add arm32/64 support --- include/Platform.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include') 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_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 &platforms, Platform platform); -- cgit v1.2.3