From 7b83a045e031cb4afcd4b31ff62735e20439ce97 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 3 Feb 2011 15:11:04 +0100 Subject: [PATCH] Use C99 __VA_ARGS__ instead of GCC extention ##__VA_ARGS__ --- bacula/src/plugins/fd/fd_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/plugins/fd/fd_common.h b/bacula/src/plugins/fd/fd_common.h index 5385def3ba..3ed138ec15 100644 --- a/bacula/src/plugins/fd/fd_common.h +++ b/bacula/src/plugins/fd/fd_common.h @@ -112,8 +112,8 @@ inline void operator delete[] (void *buf) sm_free(__FILE__, __LINE__, buf); } -#define Dmsg(context, level, message, ...) bfuncs->DebugMessage(context, __FILE__, __LINE__, level, message, ##__VA_ARGS__) -#define Jmsg(context, type, message, ...) bfuncs->JobMessage(context, __FILE__, __LINE__, type, 0, message, ##__VA_ARGS__) +#define Dmsg(context, level, ...) bfuncs->DebugMessage(context, __FILE__, __LINE__, level, __VA_ARGS__ ) +#define Jmsg(context, type, ...) bfuncs->JobMessage(context, __FILE__, __LINE__, type, 0, __VA_ARGS__ ) #ifdef USE_ADD_DRIVE -- 2.39.5