mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Fix bug in PRINT() macro
Original commit message from CVS: Fix bug in PRINT() macro
This commit is contained in:
parent
34e5211a15
commit
376ec32dce
2 changed files with 5 additions and 11 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit c5d7301d645fbee2881c30e86152cb3d2152e33b
|
||||
Subproject commit 5cca5ddc23e23658e8287f7c2fbc4aebddaf3e12
|
|
@ -11,18 +11,12 @@
|
|||
#endif
|
||||
|
||||
#ifdef G_HAVE_ISO_VARARGS
|
||||
# ifdef GST_DEBUG_ENABLED
|
||||
# define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "__VA_ARGS__)
|
||||
# endif
|
||||
#define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "__VA_ARGS__)
|
||||
#elif defined(G_HAVE_GNUC_VARARGS)
|
||||
# ifdef GST_DEBUG_ENABLED
|
||||
# define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##args)
|
||||
# endif
|
||||
#define PRINT(args...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##args)
|
||||
#else
|
||||
# ifdef GST_DEBUG_ENABLED
|
||||
# define PRINT(a...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##a)
|
||||
# endif
|
||||
#endif /* G_HAVE_ISO_VARARGS */
|
||||
#define PRINT(args...)
|
||||
#endif
|
||||
|
||||
#define YY_DECL int _gst_parse_yylex (YYSTYPE *lvalp)
|
||||
%}
|
||||
|
|
Loading…
Reference in a new issue