* configure.in: Remove --enable-shared option. It shouldn't be used for gdb.
[deliverable/binutils-gdb.git] / readline / rltty.c
index 755efebaadf038d206b8c68ee616e9bfa909e25e..ad179043472c1e51881c2e71f6b53b51b4cc8791 100644 (file)
@@ -227,7 +227,9 @@ get_tty_settings (tty, tiop)
      int tty;
      TIOTYPE *tiop;
 {
+#if defined (TIOCGWINSZ)
   set_winsize (tty);
+#endif
 
   tiop->flags = tiop->lflag = 0;
 
@@ -511,7 +513,9 @@ get_tty_settings (tty, tiop)
      int tty;
      TIOTYPE *tiop;
 {
+#if defined (TIOCGWINSZ)
   set_winsize (tty);
+#endif
 
   if (_get_tty_settings (tty, tiop) < 0)
     return -1;
This page took 0.023616 seconds and 4 git commands to generate.