1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix msvc build

This commit is contained in:
Alexander Medvednikov 2019-08-30 01:05:58 +03:00
parent 87ed442d9e
commit 3c5087902d
2 changed files with 3 additions and 3 deletions

View File

@ -14,6 +14,7 @@ CommonCHeaders = '
#ifndef _WIN32 #ifndef _WIN32
#include <ctype.h> #include <ctype.h>
#include <locale.h> // tolower #include <locale.h> // tolower
#include <sys/time.h>
#endif #endif
#ifdef __APPLE__ #ifdef __APPLE__

View File

@ -14,7 +14,6 @@ const (
$if !windows { $if !windows {
#include <unistd.h> // sleep #include <unistd.h> // sleep
#include <sys/time.h>
//#include <sys/wait.h> //#include <sys/wait.h>
/// ^^^^ including this makes the windows build fail. /// ^^^^ including this makes the windows build fail.
} }