aboutsummaryrefslogtreecommitdiff
path: root/customext
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-11-08 22:03:07 -0800
committerAndrew Waterman <andrew@sifive.com>2021-11-08 22:21:44 -0800
commitad96b52e18a51519b57509ab1964c43ba9559c07 (patch)
tree9f0a1bd0d6c7ba2e70b55c97ac2d397797c80223 /customext
parentd2bbb60aace5ff1c851bc769f47b87d480cd19ad (diff)
downloadriscv-isa-sim-ad96b52e18a51519b57509ab1964c43ba9559c07.zip
riscv-isa-sim-ad96b52e18a51519b57509ab1964c43ba9559c07.tar.gz
riscv-isa-sim-ad96b52e18a51519b57509ab1964c43ba9559c07.tar.bz2
Move definitions of P and require macros
Avoids namespace conflicts with Boost. Fixes #820 in a better way.
Diffstat (limited to 'customext')
-rw-r--r--customext/cflush.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/customext/cflush.cc b/customext/cflush.cc
index dedcc03..640c29f 100644
--- a/customext/cflush.cc
+++ b/customext/cflush.cc
@@ -1,3 +1,4 @@
+#include "insn_macros.h"
#include "extension.h"
#include <cstring>