From 4f70c7f2969579574eeabc32dc41bc8418e9e946 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Thu, 25 Apr 2013 23:37:15 -0700 Subject: [PATCH] Put back do/while(0). --- include/bx/macros.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bx/macros.h b/include/bx/macros.h index 1b751d1..677839e 100644 --- a/include/bx/macros.h +++ b/include/bx/macros.h @@ -82,15 +82,15 @@ _class& operator=(const _class&) #ifndef BX_CHECK -# define BX_CHECK(_condition, ...) +# define BX_CHECK(_condition, ...) do {} while(0) #endif // BX_CHECK #ifndef BX_TRACE -# define BX_TRACE(...) +# define BX_TRACE(...) do {} while(0) #endif // BX_TRACE #ifndef BX_WARN -# define BX_WARN(_condition, ...) +# define BX_WARN(_condition, ...) do {} while(0) #endif // BX_CHECK #ifndef BX_CONFIG_SPSCQUEUE_USE_MUTEX