Changeset 1197 for toilet/trunk


Ignore:
Timestamp:
Oct 10, 2006, 9:24:41 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed an ifdef error that caused -t to be ignored.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/main.c

    r1196 r1197  
    2424#   include <getopt.h>
    2525#endif
    26 #if defined(HAVE_SYS_IOCTL_H) && defined(TIOCGWINSZ)
     26#if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_TIOCGWINSZ)
    2727#   include <sys/ioctl.h>
    2828#endif
     
    120120        case 't': /* --termwidth */
    121121        {
    122 #if defined(HAVE_SYS_IOCTL_H) && defined(TIOCGWINSZ)
     122#if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_TIOCGWINSZ)
    123123            struct winsize ws;
    124124
Note: See TracChangeset for help on using the changeset viewer.