aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/config.h.in
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2005-09-02 22:24:49 +0200
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2005-09-02 20:24:49 +0000
commit8845001b6c4505809a171c3f37790efd1335e7f7 (patch)
tree61e8eb1482c52d0c9d9c31ada709617af410ff4e /libgfortran/config.h.in
parentb107d7437b09d209d217b102c40ca45f81bc844b (diff)
downloadgcc-8845001b6c4505809a171c3f37790efd1335e7f7.zip
gcc-8845001b6c4505809a171c3f37790efd1335e7f7.tar.gz
gcc-8845001b6c4505809a171c3f37790efd1335e7f7.tar.bz2
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
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r--libgfortran/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in
index c84938e..bc110c9 100644
--- a/libgfortran/config.h.in
+++ b/libgfortran/config.h.in
@@ -288,6 +288,9 @@
/* libm includes truncf */
#undef HAVE_TRUNCF
+/* Define to 1 if you have the `ttyname' function. */
+#undef HAVE_TTYNAME
+
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H