forked from len0rd/rockbox
this fixes the win32 simulator compilation
the simulator does not use the firmare\include path, instead it uses standard header files those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e2628d9931
commit
e3403ecd9f
6 changed files with 118 additions and 8 deletions
|
|
@ -63,14 +63,7 @@ extern int write(int fd, void* buf, int count);
|
|||
extern int remove(const char* pathname);
|
||||
extern int rename(const char* path, const char* newname);
|
||||
extern int ftruncate(int fd, unsigned int size);
|
||||
|
||||
#else
|
||||
#ifdef WIN32
|
||||
#include <io.h>
|
||||
#include <stdio.h>
|
||||
#endif /* WIN32 */
|
||||
#endif /* SIMULATOR */
|
||||
|
||||
#endif /* __MINGW32__ */
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue