From a526693915285704ffec49109d39781ba6bf4b48 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Thu, 15 May 2014 17:25:13 +0800 Subject: [PATCH] Refine test for enabling strategy_inotify in fish_tests --- fish_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_tests.cpp b/fish_tests.cpp index 57cf64af9..3f5f29213 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");