aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/template/cygwin5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/template/cygwin b/src/template/cygwin
index 3f42e2f8b69..4a03707a856 100644
--- a/src/template/cygwin
+++ b/src/template/cygwin
@@ -1,5 +1,10 @@
# src/template/cygwin
+# Prefer unnamed POSIX semaphores if available, unless user overrides choice
+if test x"$PREFERRED_SEMAPHORES" = x"" ; then
+ PREFERRED_SEMAPHORES=UNNAMED_POSIX
+fi
+
SRCH_LIB="/usr/local/lib"
# This is required for ppoll(2), and perhaps other things