diff options
author | Felix Arends <edx@rockbox.org> | 2002-04-28 19:33:19 +0000 |
---|---|---|
committer | Felix Arends <edx@rockbox.org> | 2002-04-28 19:33:19 +0000 |
commit | d711bd976868ba64db5f347642ef899a88ecad25 (patch) | |
tree | 5664396bf6e02c02c5c8971e2875d97ffd791446 /firmware | |
parent | 0196c0c45bd7835a2dbc2bc3e075382e3cf3cba4 (diff) |
replaced _WIN32 constant with WIN32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@304 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/dir.h | 4 | ||||
-rw-r--r-- | firmware/common/file.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h index 622af11f6d..a35e3fc9a8 100644 --- a/firmware/common/dir.h +++ b/firmware/common/dir.h @@ -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); diff --git a/firmware/common/file.h b/firmware/common/file.h index dde78bc17d..02f853250b 100644 --- a/firmware/common/file.h +++ b/firmware/common/file.h @@ -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 |