Commit 233bd86d by Jim Wilson Committed by Jim Wilson

Add CYGWIN32 support.

	* g77.c (pexecute, doit): Add checks for __CYGWIN32__.

From-SVN: r15183
parent 8f3d79e0
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) Wed Aug 27 20:32:03 1997 Jeffrey A Law (law@cygnus.com)
* top.c (ffe_decode_option): Turn on flag_move_all_moveables * top.c (ffe_decode_option): Turn on flag_move_all_moveables
......
...@@ -979,7 +979,7 @@ pexecute (search_flag, program, argv, not_last) ...@@ -979,7 +979,7 @@ pexecute (search_flag, program, argv, not_last)
#endif #endif
#if !defined(__MSDOS__) && !defined(OS2) && !defined(_WIN32) #if (!defined(__MSDOS__) && !defined(OS2) && !defined(_WIN32)) || defined (__CYGWIN32__)
static int static int
pexecute (search_flag, program, argv, not_last) pexecute (search_flag, program, argv, not_last)
...@@ -1084,7 +1084,7 @@ pexecute (search_flag, program, argv, not_last) ...@@ -1084,7 +1084,7 @@ pexecute (search_flag, program, argv, not_last)
} }
#endif /* OS2 */ #endif /* OS2 */
#if defined(_WIN32) #if defined(_WIN32) && !defined (__CYGWIN32__)
static int static int
pexecute (search_flag, program, argv, not_last) pexecute (search_flag, program, argv, not_last)
...@@ -1109,7 +1109,7 @@ doit (char *program, char **argv) ...@@ -1109,7 +1109,7 @@ doit (char *program, char **argv)
#ifdef __MSDOS__ #ifdef __MSDOS__
status = pid; status = pid;
#else #else
#ifdef _WIN32 #if defined(_WIN32) && !defined(__CYGWIN32__)
pid = cwait (&status, pid, WAIT_CHILD); pid = cwait (&status, pid, WAIT_CHILD);
#else #else
pid = wait (&status); pid = wait (&status);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment