From be64e1d8491032c3074cd8e60481afd402bbec68 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 7 Jun 2002 22:15:47 +0000 Subject: Ability to xine-lib clients to use non debug xine-lib with UI compiled with DEBUG and using profiler. CVS patchset: 2037 CVS date: 2002/06/07 22:15:47 --- src/xine-utils/xineutils.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'src/xine-utils/xineutils.h') diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 5db895a64..214331940 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.14 2002/05/01 19:41:55 guenter Exp $ + * $Id: xineutils.h,v 1.15 2002/06/07 22:15:47 f1rmb Exp $ * */ #ifndef XINEUTILS_H @@ -580,13 +580,11 @@ void xine_probe_fast_memcpy(config_values_t *config); #endif -#ifdef DEBUG /* * Debug stuff */ - /* - * profiling + * profiling (unworkable in non DEBUG isn't defined) */ void xine_profiler_init (void); int xine_profiler_allocate_slot (char *label); @@ -594,16 +592,6 @@ void xine_profiler_start_count (int id); void xine_profiler_stop_count (int id); void xine_profiler_print_results (void); -#else /* no DEBUG, release version */ - -#define xine_profiler_init() -#define xine_profiler_allocate_slot(label) (-1) -#define xine_profiler_start_count(id) -#define xine_profiler_stop_count(id) -#define xine_profiler_print_results() - -#endif /* DEBUG*/ - /* * Allocate and clean memory size_t 'size', then return the pointer * to the allocated memory. -- cgit v1.2.3