From 10829b2f78de91f66c7da5f7a2a2fe6d252eb38d Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Thu, 3 May 2012 07:08:43 +0200 Subject: Fix fat test program not compiling (FS#12646). This changes the way creat() is wrapped around in native builds so more experienced devs should look at it. This patch forces to compile fat test in 32bit mode. Building natively on x86-64 works just fine but our fat code apparently can't deal with 64bit pointers/ints correctly. Change-Id: I000015094f7db957ce826c22672608cd419908b0 Reviewed-on: http://gerrit.rockbox.org/228 Reviewed-by: Thomas Martitz --- apps/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 129fd6954e..96b008c551 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -63,7 +63,7 @@ #elif defined (APPLICATION) #define PREFIX(_x_) app_ ## _x_ #else -#define PREFIX +#define PREFIX(_x_) _x_ #endif #if defined (APPLICATION) -- cgit v1.2.3