mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 00:26:38 +00:00
fix IF_LOGGING macro
This commit is contained in:
parent
73b97f3a32
commit
4f7a25eb73
1 changed files with 5 additions and 3 deletions
|
@ -102,9 +102,11 @@ polysat_log(LogLevel msg_level, std::string fn, std::string pretty_fn);
|
|||
#define COND_LOG(c, x) if (c) LOG(x)
|
||||
#define LOGE(x) LOG(#x << " = " << (x))
|
||||
|
||||
#define IF_LOGGING(x) \
|
||||
do { \
|
||||
x; \
|
||||
#define IF_LOGGING(x) \
|
||||
do { \
|
||||
if (get_log_enabled()) { \
|
||||
x; \
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue