From b0504f773903a40f20f6b3db78248796e4b60d7d Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 24 Aug 2015 18:45:57 +0800 Subject: env_universal_common: always pick shmem strategy on Cygwin Cygwin FIFOs do not support more than one reader, so avoid them on this platform. An autoconf feature test would be helpful but is tricky to write. Closes #2152. --- src/env_universal_common.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/env_universal_common.cpp') diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index d29381f5..aa87ed00 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -1626,6 +1626,8 @@ universal_notifier_t::notifier_strategy_t universal_notifier_t::resolve_default_ } #if FISH_NOTIFYD_AVAILABLE return strategy_notifyd; +#elif defined(__CYGWIN__) + return strategy_shmem_polling; #else return strategy_named_pipe; #endif -- cgit v1.2.3