unix/modtermios: Provide B57600 and B115200 constants only if defined.
This commit is contained in:
parent
d4a874b81e
commit
ce936edf62
|
@ -136,8 +136,12 @@ STATIC const mp_rom_map_elem_t mp_module_termios_globals_table[] = {
|
|||
C(TCSANOW),
|
||||
|
||||
C(B9600),
|
||||
#ifdef B57600
|
||||
C(B57600),
|
||||
#endif
|
||||
#ifdef B115200
|
||||
C(B115200),
|
||||
#endif
|
||||
#undef C
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue