diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/ephy-debug.h | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2003-03-07 Dan Damian <dand@level7.ro> + + * lib/ephy-debug.h: (LOG) use named variable arguments for + compatibility with older gcc (2.95). + 2003-03-07 David Bordoley <bordoley@msu.edu> * 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 |