From 28d607eb84641c696b1d459f8906a389d169fc83 Mon Sep 17 00:00:00 2001 From: Dan Damian Date: Fri, 7 Mar 2003 20:32:58 +0000 Subject: lib/ephy-debug.h: (LOG) use named variable arguments for compatibility with older gcc (2.95). --- lib/ephy-debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/ephy-debug.h') diff --git a/lib/ephy-debug.h b/lib/ephy-debug.h index 934f2b658..6c87b8368 100644 --- a/lib/ephy-debug.h +++ b/lib/ephy-debug.h @@ -33,12 +33,12 @@ G_BEGIN_DECLS #endif #ifdef DISABLE_LOGGING -#define LOG(msg, ...) +#define LOG(msg, args...) #else -#define LOG(msg, ...) \ +#define LOG(msg, args...) \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ "[ %s ] " msg, \ - __FILE__, ##__VA_ARGS__); + __FILE__, ## args); #endif #ifdef DISABLE_PROFILING -- cgit