diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-10-14 10:18:22 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-10-14 10:18:22 +0000 |
| commit | 65a17b848a08dd385b93b2ca6c22672e67f59686 (patch) | |
| tree | 867ccf7a9ab7d82787804f7308882dfb6b44bf29 /firmware/export/buffer.h | |
| parent | cbbbcd1800c91319c98da6d1d98a488fdd79f144 (diff) | |
| download | rockbox-65a17b848a08dd385b93b2ca6c22672e67f59686.zip rockbox-65a17b848a08dd385b93b2ca6c22672e67f59686.tar.gz rockbox-65a17b848a08dd385b93b2ca6c22672e67f59686.tar.bz2 rockbox-65a17b848a08dd385b93b2ca6c22672e67f59686.tar.xz | |
More linker safe MP3 buffer handling in the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3972 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/buffer.h')
| -rw-r--r-- | firmware/export/buffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/buffer.h b/firmware/export/buffer.h index 24b676a..c031a4f 100644 --- a/firmware/export/buffer.h +++ b/firmware/export/buffer.h @@ -20,7 +20,11 @@ #define BUFFER_H /* defined in linker script */ +#ifdef SIMULATOR +extern unsigned char *mp3end; +#else extern unsigned char mp3end[]; +#endif extern unsigned char *mp3buf; |