From 62f54d9d6587044bef674a3ab62fc9f73efdeb3d Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 5 Nov 2019 19:57:53 +0300 Subject: [PATCH] remove signal.h --- fns.h | 2 -- vlib/compiler/cheaders.v | 4 ---- 2 files changed, 6 deletions(-) diff --git a/fns.h b/fns.h index bfe8c47616..b84c228977 100644 --- a/fns.h +++ b/fns.h @@ -1,5 +1,4 @@ // -/* void sigaction(); void sigemptyset(); @@ -9,4 +8,3 @@ void* memmove(); void* memset(); unsigned long strlen(const char*); char* strerror(int); -*/ diff --git a/vlib/compiler/cheaders.v b/vlib/compiler/cheaders.v index 313c4eaa3a..621df68b91 100644 --- a/vlib/compiler/cheaders.v +++ b/vlib/compiler/cheaders.v @@ -7,7 +7,6 @@ CommonCHeaders = ' #include // TODO remove all these includes, define all function signatures and types manually #include #include "fns.h" -#include #include // for va_list #include // int64_t etc #include // memcpy @@ -23,9 +22,6 @@ CommonCHeaders = ' #endif #endif -#if defined(__CYGWIN__) && !defined(_WIN32) -#error Cygwin is not supported, please use MinGW or Visual Studio. -#endif #ifdef __linux__ #include