]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
patch from Dimitri fixing crashes when decoding the invalid GIFs
[wxWidgets.git] / src / common / ftp.cpp
index 6665963f88438e42efad1e6b33a0af5fe3a8f603..5b11e509a0ad045ae31c711e1125b06f26cfedd7 100644 (file)
@@ -32,7 +32,7 @@
   #pragma hdrstop
 #endif
 
   #pragma hdrstop
 #endif
 
-#if wxUSE_SOCKETS && wxUSE_STREAMS
+#if wxUSE_PROTOCOL_FTP
 
 #ifndef WX_PRECOMP
     #include <stdlib.h>
 
 #ifndef WX_PRECOMP
     #include <stdlib.h>
@@ -925,5 +925,5 @@ wxList *wxFTP::GetList(const wxString& wildcard, bool details)
 }
 #endif // WXWIN_COMPATIBILITY_2
 
 }
 #endif // WXWIN_COMPATIBILITY_2
 
-#endif
-  // wxUSE_SOCKETS
+#endif // wxUSE_PROTOCOL_FTP
+