windows: Fix utime_mphal compilation for msvc

This commit is contained in:
stijn 2016-11-01 10:24:22 +01:00
parent 7bb0f7b0f6
commit 0b9ed55026
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
<ClCompile Include="$(PyBaseDir)extmod\modurandom.c" />
<ClCompile Include="$(PyBaseDir)extmod\modure.c" />
<ClCompile Include="$(PyBaseDir)extmod\moduzlib.c" />
<ClCompile Include="$(PyBaseDir)extmod\utime_mphal.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(PyBaseDir)py\*.h" />

View File

@ -28,9 +28,9 @@
#include "py/mpstate.h"
#include "py/mphal.h"
#include <sys/time.h>
#include <windows.h>
#include <unistd.h>
#include <sys/time.h>
HANDLE std_in = NULL;
HANDLE con_out = NULL;