Add wxUSE_FSWATCHER dependency on wxUSE_THREADS for wxMSW.
wxFileSystemWatcher implementation uses threads under MSW and can't be compiled when wxUSE_THREADS==0. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e954958f98
commit
e7678d7d03
@ -411,6 +411,16 @@
|
||||
# endif
|
||||
#endif /* !wxUSE_ACTIVEX */
|
||||
|
||||
#if !wxUSE_THREADS
|
||||
# if wxUSE_FSWATCHER
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxFileSystemWatcher requires wxThread under MSW"
|
||||
# else
|
||||
# undef wxUSE_FSWATCHER
|
||||
# define wxUSE_FSWATCHER 0
|
||||
# endif
|
||||
#endif /* !wxUSE_THREADS */
|
||||
|
||||
#if defined(__WXUNIVERSAL__) && wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW && !wxUSE_POSTSCRIPT
|
||||
# undef wxUSE_POSTSCRIPT
|
||||
# define wxUSE_POSTSCRIPT 1
|
||||
|
Loading…
Reference in New Issue
Block a user