]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
corrected conditional include
[wxWidgets.git] / include / wx / filefn.h
index 7543d8ca0312f54f907257161e1f6f9b86175c68..85931defeb5716fd82705f9ac1dec5961fe2c1e4 100644 (file)
@@ -66,7 +66,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
 // ----------------------------------------------------------------------------
 
 // Microsoft compiler loves underscores, feed them to it
-#if defined( __VISUALC__ ) || defined( __GNUWIN32__ )
+#if defined( __VISUALC__ ) || wxCHECK_W32API_VERSION( 0, 5 )
     // functions
     #define   wxClose      _close
     #define   wxRead       _read