X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd74a7ad6787f028629ba32211ebf1e2aeb34dbd..b1f68ca3455436222b8704dccdecdb06087c4e7f:/include/wx/chkconf.h 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