Add CYGWIN32 support.
* g77.c (pexecute, doit): Add checks for __CYGWIN32__. From-SVN: r15183
This commit is contained in:
parent
8f3d79e05f
commit
233bd86d2e
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue