#if wxUSE_FILE
// standard
-#if defined(__WXMSW__) && !defined(__GNUWIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
+#if defined(__WINDOWS__) && !defined(__GNUWIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
#define WIN32_LEAN_AND_MEAN
#define NOSERVICE
#define NOCRYPT
#define NOMCX
-#elif defined(__WXMSW__) && defined(__WXWINCE__)
+#elif defined(__WINDOWS__) && defined(__WXWINCE__)
#include "wx/msw/missing.h"
#elif (defined(__OS2__))
#include <io.h>
char* mktemp( char * path ) { return path ;}
#include <stat.h>
#include <unistd.h>
-#elif defined(__WXPALMOS__)
- #include "wx/palmos/missing.h"
#else
#error "Please specify the header with file functions declarations."
#endif //Win/UNIX
#define O_BINARY (0)
#endif //__UNIX__
-#ifdef __WXMSW__
+#ifdef __WINDOWS__
#include "wx/msw/mslu.h"
#endif
wxFileOffset iRc;
-#if defined(__DOS__) || defined(__UNIX__) || defined(__GNUWIN32__) || defined( __MWERKS__ )
+#if defined(__DOS__) || defined(__UNIX__) || defined(__GNUWIN32__)
// @@ this doesn't work, of course, on unseekable file descriptors
wxFileOffset ofsCur = Tell(),
ofsMax = Length();