diff options
author | Tom Ross <midgey@rockbox.org> | 2009-10-09 17:55:46 +0000 |
---|---|---|
committer | Tom Ross <midgey@rockbox.org> | 2009-10-09 17:55:46 +0000 |
commit | f5b312e04382b309b9297c51cf64af8518e0bcb9 (patch) | |
tree | 47fa8b7b2ec555e984d681733f64a49b57043ce0 | |
parent | 14e3faabea660cd78b609f6b25154f34feb341ee (diff) | |
download | rockbox-f5b312e04382b309b9297c51cf64af8518e0bcb9.tar.gz rockbox-f5b312e04382b309b9297c51cf64af8518e0bcb9.zip |
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
-rw-r--r-- | apps/plugins/lib/pluginlib_exit.c | 2 | ||||
-rw-r--r-- | firmware/export/config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/pluginlib_exit.c b/apps/plugins/lib/pluginlib_exit.c index a58e7aea23..82ae11aca0 100644 --- a/apps/plugins/lib/pluginlib_exit.c +++ b/apps/plugins/lib/pluginlib_exit.c | |||
@@ -21,5 +21,5 @@ | |||
21 | 21 | ||
22 | #include "pluginlib_exit.h" | 22 | #include "pluginlib_exit.h" |
23 | 23 | ||
24 | jmp_buf __exit_env; | 24 | jmp_buf __exit_env DATA_ATTR; |
25 | 25 | ||
diff --git a/firmware/export/config.h b/firmware/export/config.h index 4d370aa9cd..4245a2d31c 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -722,7 +722,7 @@ Lyre prototype 1*/ | |||
722 | #endif | 722 | #endif |
723 | 723 | ||
724 | #if defined(SIMULATOR) && defined(__APPLE__) | 724 | #if defined(SIMULATOR) && defined(__APPLE__) |
725 | #define DATA_ATTR __attribute__ ((section(".section __DATA, __data"))) | 725 | #define DATA_ATTR __attribute__ ((section("__DATA, .data"))) |
726 | #else | 726 | #else |
727 | #define DATA_ATTR __attribute__ ((section(".data"))) | 727 | #define DATA_ATTR __attribute__ ((section(".data"))) |
728 | #endif | 728 | #endif |