Fix the _setmode() patch for MS_WINDOWS: include <fcntl.h> and use
fileno(std*).
1 file changed