summaryrefslogtreecommitdiff
path: root/apps
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
parent147447a284b2a8067e2028cd3f8ac8c41c7f771a (diff)
downloadrockbox-88c45ff4bfec034498c0294d9143d00c990acef8.tar.gz
rockbox-88c45ff4bfec034498c0294d9143d00c990acef8.zip
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')
-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);
126#undef LDEBUGF 126#undef LDEBUGF
127#define LDEBUGF rb->debugf 127#define LDEBUGF rb->debugf
128#else 128#else
129#define DEBUGF(...) 129#undef DEBUGF
130#define LDEBUGF(...) 130#define DEBUGF(...) do { } while(0)
131#undef LDEBUGF
132#define LDEBUGF(...) do { } while(0)
131#endif 133#endif
132 134
133#ifdef ROCKBOX_HAS_LOGF 135#ifdef ROCKBOX_HAS_LOGF