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:
parent
0196c0c45b
commit
d711bd9768
2 changed files with 5 additions and 5 deletions
|
|
@ -31,13 +31,13 @@ typedef struct {
|
|||
int offset;
|
||||
} DIR;
|
||||
#else // SIMULATOR
|
||||
#ifdef _WIN32
|
||||
#ifdef WIN32
|
||||
typedef struct DIRtag
|
||||
{
|
||||
struct dirent fd;
|
||||
intptr_t handle;
|
||||
} DIR;
|
||||
#endif // _WIN32
|
||||
#endif // WIN32
|
||||
#endif // SIMULATOR
|
||||
|
||||
extern DIR* opendir(char* name);
|
||||
|
|
|
|||
|
|
@ -36,10 +36,10 @@ extern int lseek(int fd, int offset, int whence);
|
|||
extern int remove(char* pathname);
|
||||
extern int rename(char* oldname, char* newname);
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
#ifdef WIN32
|
||||
#include <io.h>
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif // WIN32
|
||||
#endif // SIMULATOR
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue