From 88c45ff4bfec034498c0294d9143d00c990acef8 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Tue, 18 May 2010 18:45:10 +0000 Subject: plugins: undefine DEBUG macros just in case, before defining them to a real statement git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26147 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/plugin.h b/apps/plugin.h index 785ba6f6a2..6727ca4caf 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -126,8 +126,10 @@ void* plugin_get_buffer(size_t *buffer_size); #undef LDEBUGF #define LDEBUGF rb->debugf #else -#define DEBUGF(...) -#define LDEBUGF(...) +#undef DEBUGF +#define DEBUGF(...) do { } while(0) +#undef LDEBUGF +#define LDEBUGF(...) do { } while(0) #endif #ifdef ROCKBOX_HAS_LOGF -- cgit v1.2.3