X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d79bd3eaf6fe173996b9fc71693891a11dabd96..0fe5e8fea017ecb73f8aaa8ceb745feb269b3f79:/src/common/ftp.cpp?ds=sidebyside diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 5a815e21c8..5b11e509a0 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -32,7 +32,7 @@ #pragma hdrstop #endif -#if wxUSE_SOCKETS && wxUSE_STREAMS +#if wxUSE_PROTOCOL_FTP #ifndef WX_PRECOMP #include @@ -844,7 +844,7 @@ int wxFTP::GetFileSize(const wxString& fileName) { if ( wxSscanf(fileList[i].c_str(), - _("%*s %*s %*s %*s %i %*s %*s %*s %*s"), + _T("%*s %*s %*s %*s %i %*s %*s %*s %*s"), &filesize) == 9 ) { // We've gotten a good response @@ -925,5 +925,5 @@ wxList *wxFTP::GetList(const wxString& wildcard, bool details) } #endif // WXWIN_COMPATIBILITY_2 -#endif - // wxUSE_SOCKETS +#endif // wxUSE_PROTOCOL_FTP +