From 6e182c588ec06f0db626a5ee7247b9b1688b10b6 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 28 Feb 2021 20:20:12 +0100 Subject: pull out api.h into arch and add documentation --- lib/arch.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/arch.h') 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" -- cgit v1.2.3