diff options
Diffstat (limited to 'apps/plugins/xworld/util.h')
-rw-r--r-- | apps/plugins/xworld/util.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/xworld/util.h b/apps/plugins/xworld/util.h index 8852335661..bacb149da9 100644 --- a/apps/plugins/xworld/util.h +++ b/apps/plugins/xworld/util.h | |||
@@ -25,12 +25,16 @@ | |||
25 | 25 | ||
26 | #include "intern.h" | 26 | #include "intern.h" |
27 | 27 | ||
28 | /* #define XWORLD_DEBUG */ | 28 | #ifdef ROCKBOX_HAS_LOGF |
29 | #define XWORLD_DEBUG | ||
30 | #endif | ||
29 | 31 | ||
30 | #ifdef XWORLD_DEBUG | 32 | #ifdef XWORLD_DEBUG |
31 | #define debug(m,f,...) debug_real(m, f, ##__VA_ARGS__) | 33 | #define debug(m,f,...) debug_real(m, f, ##__VA_ARGS__) |
34 | #define XWORLD_DEBUGMASK ~0 | ||
32 | #else | 35 | #else |
33 | #define debug(m,f,...) | 36 | #define debug(m,f,...) |
37 | #define XWORLD_DEBUGMASK 0 | ||
34 | #endif | 38 | #endif |
35 | 39 | ||
36 | enum { | 40 | enum { |