diff options
author | David Schleef <ds@schleef.org> | 2004-04-05 19:02:39 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-04-05 19:02:39 +0000 |
commit | cce13e8e5c727167805006b98fb60320453afd6d (patch) | |
tree | 1311308a091103947a0944967054657a15c9d62b /gst/gsttrace.h | |
parent | f63e0209bfa74c02634839d3c675579d57c689d9 (diff) |
gst/gsttrace.h: Fix #ifdef nesting (bug #139109) Patch from jensgr@gmx.net (Jens Granseuer)
Original commit message from CVS:
* gst/gsttrace.h: Fix #ifdef nesting (bug #139109) Patch from
jensgr@gmx.net (Jens Granseuer)
Diffstat (limited to 'gst/gsttrace.h')
-rw-r--r-- | gst/gsttrace.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gst/gsttrace.h b/gst/gsttrace.h index 4e0e9ab85..d6c8ddadb 100644 --- a/gst/gsttrace.h +++ b/gst/gsttrace.h @@ -24,12 +24,12 @@ #ifndef __GST_TRACE_H__ #define __GST_TRACE_H__ -#ifndef GST_DISABLE_TRACE - #include <glib.h> G_BEGIN_DECLS +#ifndef GST_DISABLE_TRACE + typedef struct _GstTrace GstTrace; typedef struct _GstTraceEntry GstTraceEntry; @@ -125,15 +125,11 @@ G_STMT_START { \ #endif -#ifndef GST_DISABLE_TRACE extern gint _gst_trace_on; #define gst_trace_add_entry(trace,seq,data,msg) \ if (_gst_trace_on) { \ _gst_trace_add_entry(trace,(guint32)seq,(guint32)data,msg); \ } -#else -#define gst_trace_add_entry(trace,seq,data,msg) -#endif #else /* GST_DISABLE_TRACE */ @@ -164,6 +160,7 @@ extern gint _gst_trace_on; #define gst_alloc_trace_print(trace) #define gst_alloc_trace_set_flags(trace,flags) +#define gst_trace_add_entry(trace,seq,data,msg) #endif /* GST_DISABLE_TRACE */ |