remove locale.h and unistd.h

pull/2660/head
Alexander Medvednikov 2019-11-05 20:05:14 +03:00
parent b929543782
commit 1687afba9f
2 changed files with 1 additions and 3 deletions

View File

@ -37,6 +37,7 @@ endif
fresh_vc:
rm -rf vc/
git clone --depth 1 --quiet https://github.com/vlang/vc
cp fns.h vc/fns.h
fresh_tcc:
ifdef WIN32

View File

@ -9,13 +9,10 @@ CommonCHeaders = '
#include "fns.h"
#include <stdarg.h> // for va_list
#include <inttypes.h> // int64_t etc
//#include <string.h> // memcpy
#ifndef _WIN32
#include <ctype.h>
#include <locale.h> // tolower
#include <sys/time.h>
#include <unistd.h> // sleep
#else
#if defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ < __MSVCR90_DLL
#error Please upgrade your MinGW distribution to use msvcr90.dll or later.