From d711bd976868ba64db5f347642ef899a88ecad25 Mon Sep 17 00:00:00 2001 From: Felix Arends Date: Sun, 28 Apr 2002 19:33:19 +0000 Subject: [PATCH] replaced _WIN32 constant with WIN32 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@304 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/dir.h | 4 ++-- 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 #include -#endif -#endif +#endif // WIN32 +#endif // SIMULATOR #endif