diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-02-28 20:20:12 +0100 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-02-28 20:20:12 +0100 |
commit | 6e182c588ec06f0db626a5ee7247b9b1688b10b6 (patch) | |
tree | 2c2d5e7dd92abe4ff1722996f3da561ba3ef3447 /lib/arch.h | |
parent | 9ba2177d93e3aab498598cb7058bdb64798a2f29 (diff) | |
download | matcha-threads-6e182c588ec06f0db626a5ee7247b9b1688b10b6.tar.gz matcha-threads-6e182c588ec06f0db626a5ee7247b9b1688b10b6.zip |
pull out api.h into arch and add documentation
Diffstat (limited to 'lib/arch.h')
-rw-r--r-- | lib/arch.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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" |