Merge pull request #348 from GranBurguesa/patch-1

fix do/while guard for DONT_FAKE_TIME macro
This commit is contained in:
Wolfgang Hommel
2021-09-17 19:34:53 +02:00
committed by GitHub

View File

@@ -148,7 +148,7 @@ static __thread bool dont_fake = false;
/* Wrapper for function calls, which we want to return system time */
#define DONT_FAKE_TIME(call) \
{ \
do { \
bool dont_fake_orig = dont_fake; \
if (!dont_fake) \
{ \