diff options
Diffstat (limited to 'apps/codecs/lib/tlsf')
-rw-r--r-- | apps/codecs/lib/tlsf/src/tlsf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/lib/tlsf/src/tlsf.c b/apps/codecs/lib/tlsf/src/tlsf.c index 570e472607..87f8d262ee 100644 --- a/apps/codecs/lib/tlsf/src/tlsf.c +++ b/apps/codecs/lib/tlsf/src/tlsf.c | |||
@@ -104,6 +104,7 @@ | |||
104 | #include <sys/mman.h> | 104 | #include <sys/mman.h> |
105 | #endif | 105 | #endif |
106 | 106 | ||
107 | #include "config.h" | ||
107 | #include "tlsf.h" | 108 | #include "tlsf.h" |
108 | 109 | ||
109 | #if !defined(__GNUC__) | 110 | #if !defined(__GNUC__) |
@@ -164,7 +165,8 @@ | |||
164 | #define PAGE_SIZE (getpagesize()) | 165 | #define PAGE_SIZE (getpagesize()) |
165 | #endif | 166 | #endif |
166 | 167 | ||
167 | #if defined(ROCKBOX) && defined(SIMULATOR) || !defined(ROCKBOX) | 168 | #if defined(ROCKBOX) && (CONFIG_PLATFORM & PLATFORM_HOSTED) && defined(DEBUG) \ |
169 | || !defined(ROCKBOX) | ||
168 | int printf(const char* fmt, ...); | 170 | int printf(const char* fmt, ...); |
169 | #define PRINT_MSG(fmt, args...) printf(fmt, ## args) | 171 | #define PRINT_MSG(fmt, args...) printf(fmt, ## args) |
170 | #define ERROR_MSG(fmt, args...) printf(fmt, ## args) | 172 | #define ERROR_MSG(fmt, args...) printf(fmt, ## args) |