"#ifdef G_HAVE_ISO_VARARGS" will always succeed even when we don't have

2001-05-29  James Henstridge  <james@daa.com.au>

        * gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
        even when we don't have ISO vararg support.  Changed to
        "#if G_HAVE_ISO_VARARGS".
This commit is contained in:
James Henstridge 2001-05-29 11:12:42 +00:00 committed by James Henstridge
parent ba1c852a68
commit 1c619608ef
10 changed files with 50 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -1,3 +1,9 @@
2001-05-29 James Henstridge <james@daa.com.au>
* gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
even when we don't have ISO vararg support. Changed to
"#if G_HAVE_ISO_VARARGS".
Mon May 28 11:40:34 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for __VARARGS__ separately for C and C++.

View File

@ -97,7 +97,7 @@ GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
#ifndef G_LOG_DOMAIN
#define G_LOG_DOMAIN ((gchar*) 0)
#endif /* G_LOG_DOMAIN */
#ifdef G_HAVE_ISO_VARARGS
#if G_HAVE_ISO_VARARGS
#define g_error(...) g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_ERROR, \
__VA_ARGS__)

View File

@ -97,7 +97,7 @@ GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
#ifndef G_LOG_DOMAIN
#define G_LOG_DOMAIN ((gchar*) 0)
#endif /* G_LOG_DOMAIN */
#ifdef G_HAVE_ISO_VARARGS
#if G_HAVE_ISO_VARARGS
#define g_error(...) g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_ERROR, \
__VA_ARGS__)