blob: 524d4014bd5ea3da61c7d576399222b76a4fa929 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Copyright (c) 2020 Johannes Stoelp */
#pragma once
#if !defined(linux)
static_assert(false, "Matcha Threads only supported on Linux!");
#endif
#if defined(__x86_64__) || defined(__amd64__)
# include "arch/x86_64/api.h"
#elif defined(__aarch64__)
# include "arch/arm64/api.h"
#elif defined(__arm__)
# include "arch/arm/api.h"
#else
static_assert(false, "Unsupported architecture!");
#endif
|