windows: Fix utime_mphal compilation for msvc
This commit is contained in:
parent
7bb0f7b0f6
commit
0b9ed55026
@ -23,6 +23,7 @@
|
|||||||
<ClCompile Include="$(PyBaseDir)extmod\modurandom.c" />
|
<ClCompile Include="$(PyBaseDir)extmod\modurandom.c" />
|
||||||
<ClCompile Include="$(PyBaseDir)extmod\modure.c" />
|
<ClCompile Include="$(PyBaseDir)extmod\modure.c" />
|
||||||
<ClCompile Include="$(PyBaseDir)extmod\moduzlib.c" />
|
<ClCompile Include="$(PyBaseDir)extmod\moduzlib.c" />
|
||||||
|
<ClCompile Include="$(PyBaseDir)extmod\utime_mphal.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="$(PyBaseDir)py\*.h" />
|
<ClInclude Include="$(PyBaseDir)py\*.h" />
|
||||||
|
@ -28,9 +28,9 @@
|
|||||||
#include "py/mpstate.h"
|
#include "py/mpstate.h"
|
||||||
#include "py/mphal.h"
|
#include "py/mphal.h"
|
||||||
|
|
||||||
|
#include <sys/time.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/time.h>
|
|
||||||
|
|
||||||
HANDLE std_in = NULL;
|
HANDLE std_in = NULL;
|
||||||
HANDLE con_out = NULL;
|
HANDLE con_out = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user