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
This commit is contained in:
Rafaël Carré 2010-05-18 18:45:10 +00:00
parent 147447a284
commit 88c45ff4bf

View File

@ -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