agetty: only use EXTA/EXTB macros if B19200/B38400 macros are not present

This commit is contained in:
James Buren 2013-09-03 02:50:57 -05:00 committed by Karel Zak
parent d88803a4ad
commit 09625c2ec7
1 changed files with 5 additions and 7 deletions

View File

@ -187,16 +187,14 @@ static const struct Speedtab speedtab[] = {
{2400, B2400},
{4800, B4800},
{9600, B9600},
#ifdef B19200
#ifdef B19200
{19200, B19200},
#endif
#ifdef B38400
{38400, B38400},
#endif
#ifdef EXTA
#elif defined(EXTA)
{19200, EXTA},
#endif
#ifdef EXTB
#ifdef B38400
{38400, B38400},
#elif defined(EXTB)
{38400, EXTB},
#endif
#ifdef B57600