force wxUSE_THREADS/EXCEPTIONS to 0 if wxNO_THREADS/EXCEPTIONS is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -40,6 +40,21 @@
|
||||
# define wxUSE_GUI 1
|
||||
#endif /* !defined(wxUSE_GUI) */
|
||||
|
||||
/*
|
||||
If we're compiling without support for threads/exceptions we have to
|
||||
disable the corresponding features.
|
||||
*/
|
||||
#ifdef wxNO_THREADS
|
||||
# undef wxUSE_THREADS
|
||||
# define wxUSE_THREADS 0
|
||||
#endif /* wxNO_THREADS */
|
||||
|
||||
#ifdef wxNO_EXCEPTIONS
|
||||
# undef wxUSE_EXCEPTIONS
|
||||
# define wxUSE_EXCEPTIONS 0
|
||||
#endif /* wxNO_EXCEPTIONS */
|
||||
|
||||
|
||||
/*
|
||||
tests for non GUI features
|
||||
*/
|
||||
|
Reference in New Issue
Block a user