From c4e5e13197fbe29cd4e4ff999b0dc60bbf97223f Mon Sep 17 00:00:00 2001 From: Enar Vaikene Date: Wed, 20 Jul 2011 16:02:44 +0300 Subject: [PATCH] Fixed test macros. --- src/libs/Common/globals.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/Common/globals.h b/src/libs/Common/globals.h index 55c3b40..bac62ae 100644 --- a/src/libs/Common/globals.h +++ b/src/libs/Common/globals.h @@ -96,15 +96,15 @@ namespace Internal { */ #define EVAF_TEST(cond) \ if (!cond) \ - EVAF_FATAL(#cond); + EVAF_FATAL_ERROR(#cond); /** * Tests that the condition is true with a custom error message. * * This macro tests for the condition and if not true, exist with a custom fatal error message. */ -#define EVAF_TEST_X(const, msg) \ +#define EVAF_TEST_X(cond, msg) \ if (!cond) \ - EVAF_FATAL(msg); + EVAF_FATAL_ERROR(msg); #endif // globals.h -- 2.45.0