From: Eric Bollengier Date: Thu, 3 Feb 2011 14:11:04 +0000 (+0100) Subject: Use C99 __VA_ARGS__ instead of GCC extention ##__VA_ARGS__ X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b864ae032e473dcfc37170a22403a6cf67ba00c1;p=bacula%2Fbacula Use C99 __VA_ARGS__ instead of GCC extention ##__VA_ARGS__ --- 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