mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 19:10:09 +08:00
Add standard GNU configure and build system (autoconf+automake).
Enable termio backend in sysunix.c (HAVE_TERMIO_H) Modify original sources to fit standard macros defined in config.h
This commit is contained in:
@@ -34,7 +34,7 @@ rl_ttyset(Reset)
|
||||
}
|
||||
|
||||
#else
|
||||
#if defined(HAVE_TERMIO)
|
||||
#if defined(HAVE_TERMIO_H)
|
||||
#include <termio.h>
|
||||
|
||||
void
|
||||
@@ -101,7 +101,7 @@ rl_ttyset(Reset)
|
||||
(void)ioctl(0, TIOCSETC, &old_tchars);
|
||||
}
|
||||
}
|
||||
#endif /* defined(HAVE_TERMIO) */
|
||||
#endif /* defined(HAVE_TERMIO_H) */
|
||||
#endif /* defined(HAVE_TCGETATTR) */
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user