Add support for target specific processing of ELF segments
[deliverable/binutils-gdb.git] / readline / rltty.c
index a5ef938b5c06e16a118c9a663d3f7aa51056b2f5..2c7e88679cb5843fb09f290611501ed7e38021bd 100644 (file)
@@ -189,7 +189,9 @@ get_tty_settings (tty, tiop)
      int tty;
      TIOTYPE *tiop;
 {
+#if defined (TIOCGWINSZ)
   set_winsize (tty);
+#endif
 
   tiop->flags = tiop->lflag = 0;
 
@@ -388,7 +390,9 @@ get_tty_settings (tty, tiop)
 {
   int ioctl_ret;
 
+#if defined (TIOCGWINSZ)
   set_winsize (tty);
+#endif
 
   while (1)
     {
This page took 0.022817 seconds and 4 git commands to generate.