trace: Do not poison gst_trace_add_entry()

Since gst_trace_add_entry() is a macro, gcc will barf when it is
defined in case it has been poisoned due to trace support being
disabled.
This commit is contained in:
Peter Kjellerstedt 2009-10-14 10:54:32 +02:00
parent 382ad3baa6
commit 485ae69c9e

View file

@ -223,7 +223,6 @@ extern gint _gst_trace_on;
#pragma GCC poison gst_trace_set_default
#pragma GCC poison _gst_trace_add_entry
#pragma GCC poison gst_trace_read_tsc
#pragma GCC poison gst_trace_add_entry
#endif
#define gst_alloc_trace_register(name) (NULL)