aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-15 17:25:13 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-15 17:25:13 +0800
commita526693915285704ffec49109d39781ba6bf4b48 (patch)
tree07d98b695cad0bea9bf099010bc1b3d19073b7f6 /fish_tests.cpp
parent31f2a3a7d7562e3bc627d9c8c7a73c5f59165a99 (diff)
Refine test for enabling strategy_inotify in fish_tests
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index 57cf64af..3f5f2921 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -2383,7 +2383,7 @@ static void test_universal_notifiers()
#if __APPLE__
test_notifiers_with_strategy(universal_notifier_t::strategy_notifyd);
#endif
-#if __linux || linux
+#if HAVE_INOTIFY_INIT || HAVE_INOTIFY_INIT1
test_notifiers_with_strategy(universal_notifier_t::strategy_inotify);
#endif
if (system("rm -Rf /tmp/fish_uvars_test/")) err(L"rm failed");