From 85499040565c8252ee36987bc9eabfab1951e2c6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 8 Dec 2002 20:06:04 +0000 Subject: [PATCH] Fix broken __PRETY_FUNCTION__ Original commit message from CVS: Fix broken __PRETY_FUNCTION__ --- gst/gstinfo.h | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/gst/gstinfo.h b/gst/gstinfo.h index c3a24c7a20..6382402003 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -31,16 +31,6 @@ #include #endif -#ifdef HAVE_FUNC -#define FUNCTION __func__ -#elif HAVE_PRETTY_FUNCTION -#define FUNCTION __PRETTY_FUNCTION__ -#elif HAVE_FUNCTION -#define FUNCTION __FUNCTION__ -#else -#define FUNCTION "" -#endif - /***** are we in the core or not? *****/ #ifdef __GST_PRIVATE_H__ #define _GST_DEBUG_INCORE TRUE @@ -150,13 +140,13 @@ G_GNUC_UNUSED static gchar *_debug_string = NULL; #ifdef GST_DEBUG_ENABLED #define GST_DEBUG(cat, ...) G_STMT_START{ \ if ((1<