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
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
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