From e15d5575a73baff3ddc6a9a9c91a2f864b5461c0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 27 Feb 2014 15:46:25 +0000 Subject: [PATCH] Don't build wxFileSystemWatcher test if wxUSE_FSWATCHER==0. Closes #16031. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/fswatcher/fswatchertest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/fswatcher/fswatchertest.cpp b/tests/fswatcher/fswatchertest.cpp index fe8483d5c6..5376d6f3dc 100644 --- a/tests/fswatcher/fswatchertest.cpp +++ b/tests/fswatcher/fswatchertest.cpp @@ -20,6 +20,8 @@ #include "wx/timer.h" #endif +#if wxUSE_FSWATCHER + #include "wx/evtloop.h" #include "wx/filename.h" #include "wx/filefn.h" @@ -1008,3 +1010,5 @@ void FileSystemWatcherTestCase::TestNoEventsAfterRemove() NoEventsAfterRemoveEventTester tester; tester.Run(); } + +#endif // wxUSE_FSWATCHER