system.h (STDIN_FILENO): Provide default definition if one is not provided by the...
authorMark Elbrecht <snowball3@usa.net>
Wed, 24 Mar 1999 23:35:34 +0000 (23:35 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 24 Mar 1999 23:35:34 +0000 (16:35 -0700)
commitf3692274cb0ccbd2930de5a9c10901e4da531e00
tree479786bd47a0234a2321c522b6d2deb3274a26b5
parentcc33944a7a4ad12e11ce9e278f028be948189575
system.h (STDIN_FILENO): Provide default definition if one is not provided by the system header files.

        * system.h (STDIN_FILENO): Provide default definition if one is not
        provided by the system header files.
        (STDOUT_FILENO, STDERR_FILENO): Likewise.
        * i386/xm-djgpp.h (COLLECT2_HOST_INITIALIZATION): New macro.
        * collect2.c (main): Use it.
        (pexecute_pid): New variable. Holds return value from call to pexecute.
        (collect2_execute): Rework to use pexecute instead of fork.
        (collect2_wait): Use pwait() instead of wait().

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r25960
gcc/ChangeLog
gcc/collect2.c
gcc/config/i386/xm-djgpp.h
gcc/system.h