From: Václav Slavík Date: Fri, 13 Jun 2003 15:33:14 +0000 (+0000) Subject: fs_inet depends on protocol classes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ce73e65400dfe3e9fa2c41e453e114fd0ca2753b fs_inet depends on protocol classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 631c99b1af..45f5b187a2 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -756,6 +756,17 @@ # endif #endif /* wxUSE_FILESYSTEM */ +#if wxUSE_FS_INET +# if !wxUSE_PROTOCOL +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_FS_INET requires wxUSE_PROTOCOL" +# else +# undef wxUSE_PROTOCOL +# define wxUSE_PROTOCOL 1 +# endif +# endif +#endif /* wxUSE_FS_INET */ + #if wxUSE_STOPWATCH || wxUSE_DATETIME # if !wxUSE_LONGLONG # ifdef wxABORT_ON_CONFIG_ERROR