[Opalvoip-svn] SF.net SVN: opalvoip:[28508] ptlib/branches/v2_10/src/ptlib/unix/serchan. cxx
Brought to you by:
csoutheren,
rjongbloed
From: <ed...@us...> - 2012-10-27 20:38:20
|
Revision: 28508 http://opalvoip.svn.sourceforge.net/opalvoip/?rev=28508&view=rev Author: ededu Date: 2012-10-27 20:38:14 +0000 (Sat, 27 Oct 2012) Log Message: ----------- Fix GNU/Hurd compile error Modified Paths: -------------- ptlib/branches/v2_10/src/ptlib/unix/serchan.cxx Modified: ptlib/branches/v2_10/src/ptlib/unix/serchan.cxx =================================================================== --- ptlib/branches/v2_10/src/ptlib/unix/serchan.cxx 2012-10-23 09:01:18 UTC (rev 28507) +++ ptlib/branches/v2_10/src/ptlib/unix/serchan.cxx 2012-10-27 20:38:14 UTC (rev 28508) @@ -376,10 +376,13 @@ // save new baud rate baudRate = newBaudRate; -#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_GNU_HURD) +#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) // The BSD way Termio.c_ispeed = baud; Termio.c_ospeed = baud; +#elif defined(P_GNU_HURD) + Termio.__ispeed = baud; + Termio.__ospeed = baud; #else // The Linux way Termio.c_cflag &= ~CBAUD; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |