1
0
Fork 0
forked from len0rd/rockbox

replaced _WIN32 constant with WIN32

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@304 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Felix Arends 2002-04-28 19:33:19 +00:00
parent 0196c0c45b
commit d711bd9768
2 changed files with 5 additions and 5 deletions

View file

@ -31,13 +31,13 @@ typedef struct {
int offset; int offset;
} DIR; } DIR;
#else // SIMULATOR #else // SIMULATOR
#ifdef _WIN32 #ifdef WIN32
typedef struct DIRtag typedef struct DIRtag
{ {
struct dirent fd; struct dirent fd;
intptr_t handle; intptr_t handle;
} DIR; } DIR;
#endif // _WIN32 #endif // WIN32
#endif // SIMULATOR #endif // SIMULATOR
extern DIR* opendir(char* name); extern DIR* opendir(char* name);

View file

@ -36,10 +36,10 @@ extern int lseek(int fd, int offset, int whence);
extern int remove(char* pathname); extern int remove(char* pathname);
extern int rename(char* oldname, char* newname); extern int rename(char* oldname, char* newname);
#else #else
#ifdef _WIN32 #ifdef WIN32
#include <io.h> #include <io.h>
#include <stdio.h> #include <stdio.h>
#endif #endif // WIN32
#endif #endif // SIMULATOR
#endif #endif