Austin English <[email protected]> writes: > @@ -498,7 +498,7 @@ static NTSTATUS set_baud_rate(int fd, const > SERIAL_BAUD_RATE* sbr) > return STATUS_NOT_SUPPORTED; > #endif /* Don't have linux/serial.h or lack TIOCSSERIAL */ > } > -#elif !defined(__EMX__) > +#elif !defined(__EMX__) && defined (_HAVE_STRUCT_TERMIOS_C_ISPEED) && > defined (_HAVE_STRUCT_TERMIOS_C_OSPEED) > switch (sbr->BaudRate) > { > case 0: port.c_ospeed = B0; break;
You'd want to use the cflag method in this case. Which platform needs this? -- Alexandre Julliard [email protected]
