fix test file perms
[gnulib.git] / lib / spawni.c
index 484a50b..af41682 100644 (file)
@@ -89,7 +89,7 @@
 #define SPAWN_ERROR    127
 
 
-#if defined _MSC_VER || defined __MINGW32__
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
 /* Native Woe32 API.  */
 int