diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-05-29 23:15:42 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-05-29 23:15:42 +0800 |
commit | 051df3dbb08998706a2c6a39c88700405a67e9e6 (patch) | |
tree | fe2386225cbff0333e9712f60d9e0533664a726a /lib | |
parent | f4577f97259864af3994d45270ce951bdc6dc9b2 (diff) | |
download | gsoc2013-epiphany-051df3dbb08998706a2c6a39c88700405a67e9e6.tar gsoc2013-epiphany-051df3dbb08998706a2c6a39c88700405a67e9e6.tar.gz gsoc2013-epiphany-051df3dbb08998706a2c6a39c88700405a67e9e6.tar.bz2 gsoc2013-epiphany-051df3dbb08998706a2c6a39c88700405a67e9e6.tar.lz gsoc2013-epiphany-051df3dbb08998706a2c6a39c88700405a67e9e6.tar.xz gsoc2013-epiphany-051df3dbb08998706a2c6a39c88700405a67e9e6.tar.zst gsoc2013-epiphany-051df3dbb08998706a2c6a39c88700405a67e9e6.zip |
Revert varargs change, it doesn't work for LOG("Message") without
2004-05-29 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-debug.h:
Revert varargs change, it doesn't work for LOG("Message") without
arguments.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-debug.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/ephy-debug.h b/lib/ephy-debug.h index 9326d935a..0be7f73bc 100644 --- a/lib/ephy-debug.h +++ b/lib/ephy-debug.h @@ -34,16 +34,6 @@ G_BEGIN_DECLS #define DISABLE_PROFILING #endif -#ifdef G_HAVE_ISO_VARARGS -#ifdef DISABLE_LOGGING -#define LOG(msg, ...) -#else -#define LOG(msg, ...) \ -g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "[ %s ] " msg, \ - __FILE__ , __VA_ARGS__); -#endif -#elif defined(G_HAVE_GNUC_VARARGS) #ifdef DISABLE_LOGGING #define LOG(msg, args...) #else @@ -52,7 +42,6 @@ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ "[ %s ] " msg, \ __FILE__ , ## args); #endif -#endif #ifdef DISABLE_PROFILING #define START_PROFILER(name) |