X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..da2b4b7a57f816723ed26dbbeca0549b9ce6735a:/src/common/ffile.cpp diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index a3eaac2586..3e405491ee 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -28,7 +28,7 @@ #pragma hdrstop #endif -#if wxUSE_FILE +#if wxUSE_FFILE #ifndef WX_PRECOMP #include "wx/intl.h" @@ -64,20 +64,12 @@ bool wxFFile::Open(const wxChar *filename, const char *mode) tmp_fname = new char[fname_len]; wxWX2MB(tmp_fname, filename, fname_len); -#if defined(__WXMAC__) && !defined(__UNIX__) - m_fp = fopen(wxUnix2MacFilename( tmp_fname ), mode); -#else m_fp = fopen(tmp_fname, mode); -#endif delete tmp_fname; -#else -#if defined(__WXMAC__) && !defined(__UNIX__) - m_fp = fopen(wxUnix2MacFilename( filename ), mode); #else m_fp = fopen(filename, mode); #endif -#endif if ( !m_fp ) @@ -258,4 +250,4 @@ size_t wxFFile::Length() const return (size_t)-1; } -#endif // wxUSE_FILE +#endif // wxUSE_FFILE