1
0
Fork 0
forked from len0rd/rockbox

Some libc files are not needed on mingw anymore so don't compile them (unless HAVE_ROCKBOX_C_LIBRARY is set).

Change-Id: I0b9948d0dbc07aaa8a1e2da8b3857e96fc3f9b48
This commit is contained in:
Thomas Martitz 2014-01-17 11:22:20 +01:00
parent 9d26619465
commit d55e5698e5

View file

@ -108,17 +108,16 @@ target/hosted/maemo/maemo-thread.c
/* Standard library */ /* Standard library */
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(__MINGW32__) || defined(__CYGWIN__) #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(__MINGW32__) || defined(__CYGWIN__)
libc/errno.c
libc/strtok.c libc/strtok.c
/* alsa on linux requires a more advanced sprintf, i.e. not ours */
libc/sprintf.c
#endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */ #endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY) #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY)
libc/atoi.c libc/atoi.c
libc/errno.c
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) #if (CONFIG_PLATFORM & PLATFORM_NATIVE)
/* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */ /* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */
libc/ctype.c libc/ctype.c
/* alsa on linux requires a more advanced sprintf, i.e. not ours */
libc/sprintf.c
#endif #endif
libc/memchr.c libc/memchr.c