unix.c (stream_ttyname): Protect use of ttyname by HAVE_TTYNAME macro.
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Fri, 2 Sep 2005 20:24:49 +0000 (22:24 +0200)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 2 Sep 2005 20:24:49 +0000 (20:24 +0000)
commit8845001b6c4505809a171c3f37790efd1335e7f7
tree61e8eb1482c52d0c9d9c31ada709617af410ff4e
parentb107d7437b09d209d217b102c40ca45f81bc844b
unix.c (stream_ttyname): Protect use of ttyname by HAVE_TTYNAME macro.

* io/unix.c (stream_ttyname): Protect use of ttyname by
HAVE_TTYNAME macro.
* configure.ac: Add check for ttyname.
* config.h.in: Regenerate.
* configure: Regenerate.

From-SVN: r103794
libgfortran/ChangeLog
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libgfortran/io/unix.c