From 83e468f4bef16876c49780f1ae20507ba44163b0 Mon Sep 17 00:00:00 2001 From: Future Date: Wed, 20 Mar 2024 17:57:46 +0100 Subject: [PATCH] fix: mistake in C++20 macro --- _utility.gsh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/_utility.gsh b/_utility.gsh index b8975a3..9801c07 100644 --- a/_utility.gsh +++ b/_utility.gsh @@ -56,16 +56,12 @@ #define PRINT_FUNC print #endif -#if !defined(TOOL) - PRINT_FUNC( format __VA_OPT__(,) __VA_ARGS__ ) -#endif - #ifdef _UTILITY_DEBUG -#define _VERIFY( cond, msg ) \ - assertEx(cond, msg) +#define _VERIFY(cond, msg) \ + assertEx( cond, msg ) #define DEBUG_PRINT(msg) \ - PRINT_FUNC(msg) + PRINT_FUNC( msg ) #else /* The following are "empty" defines with gsc-tool */ #define _VERIFY(cond, msg)