it's better to do this locally and update v.c manually

pull/2660/head
Alexander Medvednikov 2019-11-05 20:25:43 +03:00
parent 75f382c903
commit b91a537c35
2 changed files with 10 additions and 3 deletions

6
fns.h
View File

@ -1,6 +1,7 @@
// <signal.h>
//void sigaction();
//void sigemptyset();
/*
void sigaction();
void sigemptyset();
// <string.h>
void* memcpy();
@ -8,3 +9,4 @@ void* memmove();
void* memset();
unsigned long strlen(const char*);
char* strerror(int);
*/

View File

@ -6,13 +6,18 @@ CommonCHeaders = '
#include <stdio.h> // TODO remove all these includes, define all function signatures and types manually
#include <stdlib.h>
#include "fns.h"
//#include "fns.h"
#include <signal.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.