aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Damian <dand@src.gnome.org>2003-03-08 04:32:58 +0800
committerDan Damian <dand@src.gnome.org>2003-03-08 04:32:58 +0800
commit28d607eb84641c696b1d459f8906a389d169fc83 (patch)
treee8914adda9284dee19ceef1d1029e41903e9ff4d
parentff8cb3c94a12a0c52f5d32c88598a018e7fa74c4 (diff)
downloadgsoc2013-epiphany-28d607eb84641c696b1d459f8906a389d169fc83.tar
gsoc2013-epiphany-28d607eb84641c696b1d459f8906a389d169fc83.tar.gz
gsoc2013-epiphany-28d607eb84641c696b1d459f8906a389d169fc83.tar.bz2
gsoc2013-epiphany-28d607eb84641c696b1d459f8906a389d169fc83.tar.lz
gsoc2013-epiphany-28d607eb84641c696b1d459f8906a389d169fc83.tar.xz
gsoc2013-epiphany-28d607eb84641c696b1d459f8906a389d169fc83.tar.zst
gsoc2013-epiphany-28d607eb84641c696b1d459f8906a389d169fc83.zip
lib/ephy-debug.h: (LOG) use named variable arguments for
compatibility with older gcc (2.95).
-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