diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-02 12:32:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-02 12:32:26 +0000 |
commit | d52f1134423bb523a880aae3481b6fc1abc785c0 (patch) | |
tree | 9cf6fae25e4df7432575a40c58003e86819bda34 /firmware/common | |
parent | 4c043173bb75e1a92ad358dd5db081291e1d5d5a (diff) | |
download | rockbox-d52f1134423bb523a880aae3481b6fc1abc785c0.tar.gz rockbox-d52f1134423bb523a880aae3481b6fc1abc785c0.zip |
debreakage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1523 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/dir.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h index ae21adbd97..1ac8fcd312 100644 --- a/firmware/common/dir.h +++ b/firmware/common/dir.h | |||
@@ -53,14 +53,19 @@ typedef struct { | |||
53 | 53 | ||
54 | #else // SIMULATOR | 54 | #else // SIMULATOR |
55 | 55 | ||
56 | #if defined(WIN32) && !defined(__MINGW32__) | 56 | #ifdef WIN32 |
57 | #ifndef __MINGW32__ | ||
57 | #include <io.h> | 58 | #include <io.h> |
58 | #endif // WIN32 | 59 | #endif /* __MINGW32__ */ |
60 | |||
59 | typedef struct DIRtag | 61 | typedef struct DIRtag |
60 | { | 62 | { |
61 | struct dirent fd; | 63 | struct dirent fd; |
62 | int handle; | 64 | int handle; |
63 | } DIR; | 65 | } DIR; |
66 | |||
67 | #endif /* WIN32 */ | ||
68 | |||
64 | #endif // SIMULATOR | 69 | #endif // SIMULATOR |
65 | 70 | ||
66 | #ifndef DIRFUNCTIONS_DEFINED | 71 | #ifndef DIRFUNCTIONS_DEFINED |