summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-05-03 07:08:43 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2012-05-08 13:00:14 +0200
commit10829b2f78de91f66c7da5f7a2a2fe6d252eb38d (patch)
tree4c7a94d4143d1bff2602fd02cc21d46115ee2111 /apps
parentdae7a29b35db0ac4911007180389cdc0e98d5af5 (diff)
downloadrockbox-10829b2f78de91f66c7da5f7a2a2fe6d252eb38d.tar.gz
rockbox-10829b2f78de91f66c7da5f7a2a2fe6d252eb38d.zip
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 <kugel@rockbox.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
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 @@
63#elif defined (APPLICATION) 63#elif defined (APPLICATION)
64#define PREFIX(_x_) app_ ## _x_ 64#define PREFIX(_x_) app_ ## _x_
65#else 65#else
66#define PREFIX 66#define PREFIX(_x_) _x_
67#endif 67#endif
68 68
69#if defined (APPLICATION) 69#if defined (APPLICATION)