build: Enable RPC_DOC_CHECK on --enable-debug

This commit is contained in:
MacroFake
2022-05-19 08:03:19 +02:00
parent bb83aba6c9
commit fafae678f6
2 changed files with 8 additions and 1 deletions

View File

@@ -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