#include <string.h>
#include <assert.h>
#include <stdio.h>
+#include <fcntl.h>
+#include <io.h>
/* Replacement for glob() in Windows native builds that operates on wide
* characters. */
return p;
}
+void set_fd_to_binary_mode(int fd)
+{
+ _setmode(fd, _O_BINARY);
+}