diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-09-22 23:48:09 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-09-22 23:48:09 +0200 |
commit | 33f286000db35fe50639c237caa736deea304585 (patch) | |
tree | ddb74ebd1f626b200cbb5050545ded484dde4787 /lib/compile_guard.cc | |
parent | 488d4c6237c3f713077fe93e2745ba5defde0aa5 (diff) | |
download | matcha-threads-33f286000db35fe50639c237caa736deea304585.tar.gz matcha-threads-33f286000db35fe50639c237caa736deea304585.zip |
split classes into separate files, add arch specific subdir
Diffstat (limited to 'lib/compile_guard.cc')
-rw-r--r-- | lib/compile_guard.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/compile_guard.cc b/lib/compile_guard.cc new file mode 100644 index 0000000..61c7ad5 --- /dev/null +++ b/lib/compile_guard.cc @@ -0,0 +1,5 @@ +/* Copyright (c) 2020 Johannes Stoelp */ + +#if !defined(linux) || (!defined(__x86_64__) && !defined(__amd64__)) +static_assert(false, "Matcha Threads only supported on Linux x86_64!"); +#endif |