Simplify the definition of macro W() so that the Connectal dependancy checker can handle it.

This commit is contained in:
Simon Moore
2020-04-21 23:40:29 +01:00
parent 80ba19db9f
commit 490a10f18c

View File

@@ -31,11 +31,10 @@ import CHERICap :: *;
import CHERICC_Fat :: *;
`define CAPTYPE CapPipe
`define W(name)\
`ifndef CAP64\
wrap128_``name\
`else\
wrap64_``name\
`ifndef CAP64
`define W(name) wrap128_``name
`else
`define W(name) wrap64_``name
`endif
(* noinline *)