aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/ephy-debug.h6
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 <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