VC++ (v100) won't accept the base definitions and documentation states that the _ versions are standard, but it's not clear that is the case, so to be safe I redefined these symbols using the same approach as for `sleep` in the existing code.