From db44dadcab7bea9f85137ebe19a2985b9fad9a29 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 8 Mar 2005 22:37:15 +0000 Subject: attempt to kill two annoying win32 cross-compiler warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6169 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/io.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'uisimulator/common') diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index 5db5f52880..53e2022062 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c @@ -40,6 +40,13 @@ #include "dir-win32.h" #endif +#if defined(WIN32) && defined(__MINGW32__) +/* when building with cross-compiled mingw on Linux for win32, these protos + are missing */ +int _commit(int fd); +int snprintf (char *buf, size_t size, const char *fmt, ...); +#endif + #define MAX_PATH 260 #include -- cgit v1.2.3