Merge pull request #1114 from oliverschmidt/master

Set Win32 file i/o to binary mode.
This commit is contained in:
Oliver Schmidt 2015-06-14 21:03:46 +02:00
commit cb09689846

View file

@ -36,6 +36,7 @@
#include <windows.h>
#include <winsock2.h>
#include <stdio.h>
#include <fcntl.h>
#include "contiki-net.h"
@ -101,6 +102,8 @@ char **contiki_argv;
int
main(int argc, char **argv)
{
_set_fmode(O_BINARY);
contiki_argc = argc;
contiki_argv = argv;