diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-08-02 12:18:30 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-02 12:18:30 +0000 |
| commit | 4c043173bb75e1a92ad358dd5db081291e1d5d5a (patch) | |
| tree | 2dd9d25c980fe2c7c8a4e0133fe08bf5b412f392 | |
| parent | 714d6ffa2ba990e61e6751e3080d4002fd91936f (diff) | |
| download | rockbox-4c043173bb75e1a92ad358dd5db081291e1d5d5a.zip rockbox-4c043173bb75e1a92ad358dd5db081291e1d5d5a.tar.gz rockbox-4c043173bb75e1a92ad358dd5db081291e1d5d5a.tar.bz2 rockbox-4c043173bb75e1a92ad358dd5db081291e1d5d5a.tar.xz | |
ming compile fixes by Bill Napier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1522 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/common/dir.h | 4 | ||||
| -rw-r--r-- | firmware/common/file.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h index 3cf36eb..ae21adb 100644 --- a/firmware/common/dir.h +++ b/firmware/common/dir.h @@ -53,14 +53,14 @@ typedef struct { #else // SIMULATOR -#ifdef WIN32 +#if defined(WIN32) && !defined(__MINGW32__) #include <io.h> +#endif // WIN32 typedef struct DIRtag { struct dirent fd; int handle; } DIR; -#endif // WIN32 #endif // SIMULATOR #ifndef DIRFUNCTIONS_DEFINED diff --git a/firmware/common/file.h b/firmware/common/file.h index b5249ec..59aaa70 100644 --- a/firmware/common/file.h +++ b/firmware/common/file.h @@ -45,7 +45,7 @@ extern int rename(char* oldname, char* newname); #endif #else -#ifdef WIN32 +#if defined(WIN32) && !defined(__MINGW32__) #include <io.h> #include <stdio.h> #endif // WIN32 |