1
0
Fork 0
forked from len0rd/rockbox

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>
This commit is contained in:
Marcin Bukat 2012-05-03 07:08:43 +02:00
parent dae7a29b35
commit 10829b2f78
4 changed files with 15 additions and 21 deletions

View file

@ -63,7 +63,7 @@
#elif defined (APPLICATION)
#define PREFIX(_x_) app_ ## _x_
#else
#define PREFIX
#define PREFIX(_x_) _x_
#endif
#if defined (APPLICATION)