X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/161f4f7380e945b0769ad5f7122df55b8777396a..4087064a382ca938e9b7889a9aafd6340b54d6c5:/include/wx/filefn.h?ds=sidebyside diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 7543d8ca03..1ffa54f836 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -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 @@ -170,12 +170,10 @@ WXDLLEXPORT void wxUnix2DosFilename(wxChar *s); #if defined(__WXMAC__) && !defined(__UNIX__) WXDLLEXPORT wxString wxMacFSSpec2MacFilename( const FSSpec *spec ) ; WXDLLEXPORT void wxMacFilename2FSSpec( const char *path , FSSpec *spec ) ; - /* WXDLLEXPORT wxString wxMacFSSpec2UnixFilename( const FSSpec *spec ) ; WXDLLEXPORT void wxUnixFilename2FSSpec( const char *path , FSSpec *spec ) ; WXDLLEXPORT wxString wxMac2UnixFilename( const char *s) ; WXDLLEXPORT wxString wxUnix2MacFilename( const char *s); -*/ #endif // Strip the extension, in situ