mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-18 11:22:52 +02:00
if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as ((gchar*) 0) instead of
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org> * glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as ((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported by Seth Alves <alves@hungry.com>.
This commit is contained in:
@@ -1263,7 +1263,7 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
|
||||
GLogLevelFlags fatal_mask);
|
||||
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
||||
#ifndef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN (NULL)
|
||||
#define G_LOG_DOMAIN ((gchar*) 0)
|
||||
#endif /* G_LOG_DOMAIN */
|
||||
#ifdef __GNUC__
|
||||
#define g_error(format, args...) g_log (G_LOG_DOMAIN, \
|
||||
|
Reference in New Issue
Block a user