mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
build: fix redeclaration erors when building with --gst-disable-gst-debug
Give dummy symbols a uniqe name.
This commit is contained in:
parent
f89ccf7d3d
commit
b40c2f8114
1 changed files with 4 additions and 4 deletions
|
@ -1177,12 +1177,12 @@ GST_FIXME (const char *format, ...)
|
|||
#define gst_debug_set_threshold_for_name(name,level) G_STMT_START{ }G_STMT_END
|
||||
#define gst_debug_unset_threshold_for_name(name) G_STMT_START{ }G_STMT_END
|
||||
|
||||
#define GST_DEBUG_CATEGORY(var) void _gst_dummy_declaration (void)
|
||||
#define GST_DEBUG_CATEGORY_EXTERN(var) void _gst_dummy_declaration (void)
|
||||
#define GST_DEBUG_CATEGORY(var) void _gst_debug_dummy_##var (void)
|
||||
#define GST_DEBUG_CATEGORY_EXTERN(var) void _gst_debug_dummy_extern_##var (void)
|
||||
#if !defined(G_HAVE_GNUC_VARARGS) && !defined(G_HAVE_ISO_VARARGS)
|
||||
#define GST_DEBUG_CATEGORY_STATIC(var) static GstDebugCategory *var = NULL
|
||||
#define GST_DEBUG_CATEGORY_STATIC(var) static GstDebugCategory *_gst_debug_dummy_##var = NULL
|
||||
#else
|
||||
#define GST_DEBUG_CATEGORY_STATIC(var) void _gst_dummy_declaration (void)
|
||||
#define GST_DEBUG_CATEGORY_STATIC(var) void _gst_debug_dummy_##var (void)
|
||||
#endif
|
||||
#define GST_DEBUG_CATEGORY_INIT(var,name,color,desc) G_STMT_START{ }G_STMT_END
|
||||
#define GST_DEBUG_CATEGORY_GET(var,name) G_STMT_START{ }G_STMT_END
|
||||
|
|
Loading…
Reference in a new issue