X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bedaf53eaf4e2a860b34d4ff5e0b1928ce8fa5c9..15678bec37c6e3cb8a67a8b041579af595d4ccf3:/include/wx/filefn.h?ds=sidebyside diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 8e247c9571..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 -#ifdef __VISUALC__ +#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