Skip to content
Snippets Groups Projects
Commit 0b9ed550 authored by stijn's avatar stijn
Browse files

windows: Fix utime_mphal compilation for msvc

parent 7bb0f7b0
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ ...@@ -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 @@ ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment