X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1873279648582e6af46f9103460da50bf5e03b9..aaedb44c5e7169db22d32e8a335936e3213da33a:/include/wx/unix/chkconf.h?ds=sidebyside diff --git a/include/wx/unix/chkconf.h b/include/wx/unix/chkconf.h index a6a4e64cc5..f1cff704d9 100644 --- a/include/wx/unix/chkconf.h +++ b/include/wx/unix/chkconf.h @@ -20,3 +20,14 @@ # endif # endif #endif /* wxUSE_CONSOLE_EVENTLOOP */ + +#if wxUSE_GSTREAMER +# if !wxUSE_THREADS +# ifdef wxABORT_ON_CONFIG_ERROR +# error "GStreamer requires threads" +# else +# undef wxUSE_GSTREAMER +# define wxUSE_GSTREAMER 0 +# endif +# endif +#endif /* wxUSE_GSTREAMER */