diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-19 08:03:19 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-19 07:54:57 +0200 |
commit | fafae678f6cd8aaca2be8ece501b258160f7fbfa (patch) | |
tree | f3c2a9eae4b38d9d2031080abdfcebc9f3277f65 /src | |
parent | bb83aba6c98b948c1715b26237980a4ddc87a547 (diff) |
build: Enable RPC_DOC_CHECK on --enable-debug
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/util.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h index 6e23caff6c..abbc4c66fe 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -22,7 +22,13 @@ #include <variant> #include <vector> -static constexpr bool DEFAULT_RPC_DOC_CHECK{false}; +static constexpr bool DEFAULT_RPC_DOC_CHECK{ +#ifdef RPC_DOC_CHECK + true +#else + false +#endif +}; /** * String used to describe UNIX epoch time in documentation, factored out to a |