summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/config/checks/architecture/riscv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/config/checks/architecture/riscv.cpp')
-rw-r--r--src/boost/libs/config/checks/architecture/riscv.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/boost/libs/config/checks/architecture/riscv.cpp b/src/boost/libs/config/checks/architecture/riscv.cpp
new file mode 100644
index 000000000..d2cea68ba
--- /dev/null
+++ b/src/boost/libs/config/checks/architecture/riscv.cpp
@@ -0,0 +1,10 @@
+// riscv.cpp
+//
+// Copyright Andreas Schwab 2019
+// Distributed under the Boost Software License Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#if !defined(__riscv)
+#error "Not RISC-V"
+#endif