diff options
Diffstat (limited to 'apps/plugins/imageviewer/jpegp/rb_glue.h')
-rw-r--r-- | apps/plugins/imageviewer/jpegp/rb_glue.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/jpegp/rb_glue.h b/apps/plugins/imageviewer/jpegp/rb_glue.h new file mode 100644 index 0000000000..ce08483deb --- /dev/null +++ b/apps/plugins/imageviewer/jpegp/rb_glue.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * $Id$ | ||
10 | * | ||
11 | * This program is free software; you can redistribute it and/or | ||
12 | * modify it under the terms of the GNU General Public License | ||
13 | * as published by the Free Software Foundation; either version 2 | ||
14 | * of the License, or (at your option) any later version. | ||
15 | * | ||
16 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
17 | * KIND, either express or implied. | ||
18 | * | ||
19 | ****************************************************************************/ | ||
20 | |||
21 | #include "plugin.h" | ||
22 | #include "mempool.h" | ||
23 | |||
24 | //define from rbunicode.h clashes with jpeg81.h struct | ||
25 | #undef COMP | ||
26 | |||
27 | #undef memset | ||
28 | #define memset(a,b,c) rb->memset((a),(b),(c)) | ||
29 | |||
30 | #if defined(DEBUG) || defined(SIMULATOR) | ||
31 | #define printf rb->debugf | ||
32 | #else | ||
33 | #undef printf | ||
34 | #define printf(...) | ||
35 | #endif \ No newline at end of file | ||