aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-05-15 22:53:08 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:58 +0200
commitf6caac38117a99782513db0b62bfd29b921f873c (patch)
treecc1bbc54339a3044898b1618a69d425e1b178dcb /include
parentd0aad1c2cf1c734c650d277d4ad61b3e593a9d01 (diff)
Fix version =,< and <= not working. Also fix incorrect platform family handling
Diffstat (limited to 'include')
-rw-r--r--include/Platform.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/Platform.hpp b/include/Platform.hpp
index 2c9feb5..a7e343b 100644
--- a/include/Platform.hpp
+++ b/include/Platform.hpp
@@ -42,9 +42,8 @@ namespace sibs
PLATFORM_LINUX_ARM32 = 1ULL << 28ULL | PLATFORM_LINUX32,
PLATFORM_LINUX_ARM64 = 1ULL << 29ULL | PLATFORM_LINUX64,
- PLATFORM_LINUX_X86 = 1ULL << 30ULL | PLATFORM_LINUX,
- PLATFORM_LINUX_X86_32 = 1ULL << 31ULL | PLATFORM_LINUX32,
- PLATFORM_LINUX_X86_64 = 1ULL << 32ULL | PLATFORM_LINUX64
+ PLATFORM_LINUX_X86 = 1ULL << 30ULL | PLATFORM_LINUX32,
+ PLATFORM_LINUX_X86_64 = 1ULL << 31ULL | PLATFORM_LINUX64
};
const StringViewMap<Platform> PLATFORM_BY_NAME = {
@@ -72,7 +71,6 @@ namespace sibs
{ "linux_arm32", PLATFORM_LINUX_ARM32 },
{ "linux_arm64", PLATFORM_LINUX_ARM64 },
{ "linux_x86", PLATFORM_LINUX_X86 },
- { "linux_x86_32", PLATFORM_LINUX_X86_32 },
{ "linux_x86_64", PLATFORM_LINUX_X86_64 }
};