diff options
Diffstat (limited to 'apps/plugins/zxbox/helpers.h')
-rw-r--r-- | apps/plugins/zxbox/helpers.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/helpers.h b/apps/plugins/zxbox/helpers.h index ba8607d5cb..c8cb9c1554 100644 --- a/apps/plugins/zxbox/helpers.h +++ b/apps/plugins/zxbox/helpers.h | |||
@@ -7,9 +7,12 @@ extern off_t my_ftell(int); | |||
7 | extern void *my_malloc(size_t size); | 7 | extern void *my_malloc(size_t size); |
8 | 8 | ||
9 | 9 | ||
10 | #undef getc | ||
10 | #define getc my_getc | 11 | #define getc my_getc |
11 | #define malloc my_malloc | 12 | #undef putc |
12 | #define ftell my_ftell | ||
13 | #define putc my_putc | 13 | #define putc my_putc |
14 | #undef ftell | ||
15 | #define ftell my_ftell | ||
16 | #define malloc my_malloc | ||
14 | 17 | ||
15 | #endif /* HELPERS_H */ | 18 | #endif /* HELPERS_H */ |