diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-03-08 22:37:15 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-03-08 22:37:15 +0000 |
commit | db44dadcab7bea9f85137ebe19a2985b9fad9a29 (patch) | |
tree | 77885b2af66f51e95c4fd7218b1a5cf8a70e7930 /uisimulator/common | |
parent | 738ae851eba077e68f8a867efc17a5d24c24d6a3 (diff) | |
download | rockbox-db44dadcab7bea9f85137ebe19a2985b9fad9a29.tar.gz rockbox-db44dadcab7bea9f85137ebe19a2985b9fad9a29.zip |
attempt to kill two annoying win32 cross-compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6169 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/io.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <fcntl.h> |