summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 18:45:10 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 18:45:10 +0000
commit88c45ff4bfec034498c0294d9143d00c990acef8 (patch)
tree79bb610076d3bed9bfd1dd3a60e8c9e00aa2a7b3 /apps/plugin.h
parent147447a284b2a8067e2028cd3f8ac8c41c7f771a (diff)
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 4 insertions, 2 deletions
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