aboutsummaryrefslogtreecommitdiff
path: root/lib/arch.h
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-06-09 20:09:16 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-06-09 20:09:16 +0200
commit860d937c5680a58ac1437a3daba93496ecc3ad78 (patch)
treefba31697a6f5ff88615946c48e8b4540d51e0a16 /lib/arch.h
parent97d9a9d31996cc5ac07fd4cb48ad01deba879a50 (diff)
downloadmatcha-threads-860d937c5680a58ac1437a3daba93496ecc3ad78.tar.gz
matcha-threads-860d937c5680a58ac1437a3daba93496ecc3ad78.zip
move arch.h into arch/ sub-dir
Diffstat (limited to 'lib/arch.h')
-rw-r--r--lib/arch.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/arch.h b/lib/arch.h
deleted file mode 100644
index a02fdba..0000000
--- a/lib/arch.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* 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__)
-// fall-through: x86_64 support
-#elif defined(__aarch64__)
-// fall-through: arm64 support
-#elif defined(__arm__)
-// fall-through: armv7 support
-#else
-static_assert(false, "Unsupported architecture!");
-#endif
-
-#include "arch/api.h"