forked from len0rd/rockbox
Fix compilation of simulators on Mac OS X 10.6. Tested on 10.5.8 and 10.6.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23051 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
14e3faabea
commit
f5b312e043
2 changed files with 2 additions and 2 deletions
|
@ -21,5 +21,5 @@
|
||||||
|
|
||||||
#include "pluginlib_exit.h"
|
#include "pluginlib_exit.h"
|
||||||
|
|
||||||
jmp_buf __exit_env;
|
jmp_buf __exit_env DATA_ATTR;
|
||||||
|
|
||||||
|
|
|
@ -722,7 +722,7 @@ Lyre prototype 1*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(SIMULATOR) && defined(__APPLE__)
|
#if defined(SIMULATOR) && defined(__APPLE__)
|
||||||
#define DATA_ATTR __attribute__ ((section(".section __DATA, __data")))
|
#define DATA_ATTR __attribute__ ((section("__DATA, .data")))
|
||||||
#else
|
#else
|
||||||
#define DATA_ATTR __attribute__ ((section(".data")))
|
#define DATA_ATTR __attribute__ ((section(".data")))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue