Fixes for cfget[io]speed
Tue Jan 11 09:36:00 GMT 2011
I discovered some compliance issues with cfget[io]speed:
* POSIX requires these to be declared (at least) as functions;
* POSIX requires their argument to be const;
* the macros are not safe for C++ code.
The following patch fixes these issues, providing that constifying the
arguments doesn't change the ABI.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1945 bytes
Desc: not available
More information about the Cygwin-patches