On Thu, Oct 7, 2010 at 3:48 PM, Alexandre Julliard julliard@winehq.org wrote:
Austin English austinenglish@gmail.com 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?
Hm, I'll have to look into that.
It's for GNU Hurd, compile is broken without it. I've got a few other patches for it as well, that need cleaning first.