summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
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 785ba6f..6727ca4 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