From 2d5987ea2bd96285899f1e5a141dcdaed8008e7e Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Wed, 24 Sep 2008 22:31:54 +0000 Subject: [PATCH] rx-dpf-clarify-20080924 LICENSE IPL10 rework dpf macro slightly so there are no trailing ; issues --- src/rx/rx_globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/rx_globals.h b/src/rx/rx_globals.h index 2229e25..53fd058 100644 --- a/src/rx/rx_globals.h +++ b/src/rx/rx_globals.h @@ -538,7 +538,7 @@ EXT int rxdebug_active; #ifdef DPF_FSLOG #define dpf(args) FSLog args #else -#define dpf(args) if (rx_debugFile) rxi_DebugPrint args; else +#define dpf(args) do { if (rx_debugFile) rxi_DebugPrint args; } while (0) #endif #endif #define rx_Log_event rxevent_debugFile -- 1.9.4