+Tue Sep 9 13:20:40 1997 Jim Wilson <wilson@cygnus.com>
+
+ * g77.c (pexecute, doit): Add checks for __CYGWIN32__.
+
Wed Aug 27 20:32:03 1997 Jeffrey A Law (law@cygnus.com)
* top.c (ffe_decode_option): Turn on flag_move_all_moveables
#endif
-#if !defined(__MSDOS__) && !defined(OS2) && !defined(_WIN32)
+#if (!defined(__MSDOS__) && !defined(OS2) && !defined(_WIN32)) || defined (__CYGWIN32__)
static int
pexecute (search_flag, program, argv, not_last)
}
#endif /* OS2 */
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined (__CYGWIN32__)
static int
pexecute (search_flag, program, argv, not_last)
#ifdef __MSDOS__
status = pid;
#else
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
pid = cwait (&status, pid, WAIT_CHILD);
#else
pid = wait (&status);