]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
applied patch 473558: fixes for CW compilation under MSW
[wxWidgets.git] / include / wx / filefn.h
index d4e1cbe48c40a62d6a04344d05ca4bd601554d1b..75665d066dbcfc49be3a9c8eec22db1629914c47 100644 (file)
@@ -66,7 +66,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
 // ----------------------------------------------------------------------------
 
 // Microsoft compiler loves underscores, feed them to it
-#if defined( __VISUALC__ ) || wxCHECK_W32API_VERSION( 0, 5 )
+#if defined( __VISUALC__ ) || wxCHECK_W32API_VERSION( 0, 5 ) \
+    || ( defined(__MWERKS__) && defined(__WXMSW__) )
     // functions
     #define   wxClose      _close
     #define   wxRead       _read