From f5b312e04382b309b9297c51cf64af8518e0bcb9 Mon Sep 17 00:00:00 2001 From: Tom Ross Date: Fri, 9 Oct 2009 17:55:46 +0000 Subject: 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 --- firmware/export/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware') 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*/ #endif #if defined(SIMULATOR) && defined(__APPLE__) -#define DATA_ATTR __attribute__ ((section(".section __DATA, __data"))) +#define DATA_ATTR __attribute__ ((section("__DATA, .data"))) #else #define DATA_ATTR __attribute__ ((section(".data"))) #endif -- cgit v1.2.3