mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gstinfo: don't assume G_HAVE_ISO_VARARGS implies ISO C99
Makes headers C++ clean, esp. with the Sun compilers. Fixes #567692.
This commit is contained in:
parent
b31896b2af
commit
e6a3fd9bbb
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ struct _GstDebugCategory {
|
|||
#ifndef GST_FUNCTION
|
||||
#if defined (__GNUC__) || (defined (_MSC_VER) && _MSC_VER >= 1300)
|
||||
# define GST_FUNCTION ((const char*) (__FUNCTION__))
|
||||
#elif defined (G_HAVE_ISO_VARARGS)
|
||||
#elif defined (__STDC__) && defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
# define GST_FUNCTION ((const char*) (__func__))
|
||||
#else
|
||||
# define GST_FUNCTION ((const char*) ("???"))
|
||||
|
|
Loading…
Reference in a new issue