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). --- ChangeLog | 5 +++++ lib/ephy-debug.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee0d40e52..0cd4f9c9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-07 Dan Damian + + * lib/ephy-debug.h: (LOG) use named variable arguments for + compatibility with older gcc (2.95). + 2003-03-07 David Bordoley * src/ephy-go-action.c: (new file) 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 v1.2.3