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
# 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