aboutsummaryrefslogtreecommitdiff
path: root/lib/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arch.h')
-rw-r--r--lib/arch.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/arch.h b/lib/arch.h
index 524d401..a02fdba 100644
--- a/lib/arch.h
+++ b/lib/arch.h
@@ -7,11 +7,13 @@ static_assert(false, "Matcha Threads only supported on Linux!");
#endif
#if defined(__x86_64__) || defined(__amd64__)
-# include "arch/x86_64/api.h"
+// fall-through: x86_64 support
#elif defined(__aarch64__)
-# include "arch/arm64/api.h"
+// fall-through: arm64 support
#elif defined(__arm__)
-# include "arch/arm/api.h"
+// fall-through: armv7 support
#else
static_assert(false, "Unsupported architecture!");
#endif
+
+#include "arch/api.h"