From 860d937c5680a58ac1437a3daba93496ecc3ad78 Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 9 Jun 2021 20:09:16 +0200 Subject: move arch.h into arch/ sub-dir --- lib/arch.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 lib/arch.h (limited to 'lib/arch.h') 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" -- cgit v1.2.3