Explicit using.
Code guards for platform-specific implementations.
(when not using cmake / catkin)
Fix broken ioctl calls, add exception handling.
Merge branch 'master' of https://github.com/bakercp/serial into bakercp-master
[style] whitespace changes only
fix broken ifdef _WIN32
Contributor notice
if not windows guard for unix.h
Add MillisecondTimer class.
Implement MillisecondTimer in the unix read() and write() functions.
Rename now function to timespec_now and timeout_time to expiry, for greater clarity.
Eliminate modulus operator.
Remove TimerExpiredException.
Of course, the timespec_from_ms function must return its result.
use static casts rather than C-style casting

C-style casting can result in undesired reinterpret_casts
So we should avoid them, see:
http://stackoverflow.com/questions/332030/when-should-static-cast-dynamic-cast-and-reinterpret-cast-be-used