summaryrefslogtreecommitdiff
path: root/firmware/include/file.h
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2003-02-14 20:51:10 +0000
committerFelix Arends <edx@rockbox.org>2003-02-14 20:51:10 +0000
commite3403ecd9f218766ce64eed0ff6b6cd706391fa4 (patch)
tree2aea1d6cbcffd2b4b9d63bb24e107376583070ea /firmware/include/file.h
parente2628d99315c315ba52c5b9abe5ba9d4017e8386 (diff)
downloadrockbox-e3403ecd9f218766ce64eed0ff6b6cd706391fa4.tar.gz
rockbox-e3403ecd9f218766ce64eed0ff6b6cd706391fa4.zip
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
Diffstat (limited to 'firmware/include/file.h')
-rw-r--r--firmware/include/file.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h
index ff70c017be..6c81cb93d7 100644
--- a/firmware/include/file.h
+++ b/firmware/include/file.h
@@ -63,14 +63,7 @@ extern int write(int fd, void* buf, int count);
63extern int remove(const char* pathname); 63extern int remove(const char* pathname);
64extern int rename(const char* path, const char* newname); 64extern int rename(const char* path, const char* newname);
65extern int ftruncate(int fd, unsigned int size); 65extern int ftruncate(int fd, unsigned int size);
66
67#else
68#ifdef WIN32
69#include <io.h>
70#include <stdio.h>
71#endif /* WIN32 */
72#endif /* SIMULATOR */ 66#endif /* SIMULATOR */
73
74#endif /* __MINGW32__ */ 67#endif /* __MINGW32__ */
75 68
76#endif 69#endif