diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs index 8becff73343..0ec6af0fb06 100644 --- a/gcc/f/ChangeLog.egcs +++ b/gcc/f/ChangeLog.egcs @@ -1,3 +1,7 @@ +Tue Sep 9 13:20:40 1997 Jim Wilson + + * 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 diff --git a/gcc/f/g77.c b/gcc/f/g77.c index dc9f7764b26..1c0834fd9a3 100644 --- a/gcc/f/g77.c +++ b/gcc/f/g77.c @@ -979,7 +979,7 @@ pexecute (search_flag, program, argv, not_last) #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) @@ -1084,7 +1084,7 @@ 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) @@ -1109,7 +1109,7 @@ doit (char *program, char **argv) #ifdef __MSDOS__ status = pid; #else -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__CYGWIN32__) pid = cwait (&status, pid, WAIT_CHILD); #else pid = wait (&status);