Index: trunk/src/sh_calls.c
===================================================================
--- trunk/src/sh_calls.c	(revision 502)
+++ trunk/src/sh_calls.c	(revision 503)
@@ -320,5 +320,9 @@
 
 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE)
+#if defined(HOST_IS_CYGWIN) || defined(__cygwin__) || defined(__CYGWIN32__) || defined(__CYGWIN__)
+static int sh_use_sub = 0;
+#else
 static int sh_use_sub = 1;
+#endif
 #else
 static int sh_use_sub = 0;
