it's better to do this locally and update v.c manually
parent
75f382c903
commit
b91a537c35
6
fns.h
6
fns.h
|
@ -1,6 +1,7 @@
|
||||||
// <signal.h>
|
// <signal.h>
|
||||||
//void sigaction();
|
/*
|
||||||
//void sigemptyset();
|
void sigaction();
|
||||||
|
void sigemptyset();
|
||||||
|
|
||||||
// <string.h>
|
// <string.h>
|
||||||
void* memcpy();
|
void* memcpy();
|
||||||
|
@ -8,3 +9,4 @@ void* memmove();
|
||||||
void* memset();
|
void* memset();
|
||||||
unsigned long strlen(const char*);
|
unsigned long strlen(const char*);
|
||||||
char* strerror(int);
|
char* strerror(int);
|
||||||
|
*/
|
||||||
|
|
|
@ -6,13 +6,18 @@ CommonCHeaders = '
|
||||||
|
|
||||||
#include <stdio.h> // TODO remove all these includes, define all function signatures and types manually
|
#include <stdio.h> // TODO remove all these includes, define all function signatures and types manually
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "fns.h"
|
|
||||||
|
//#include "fns.h"
|
||||||
|
#include <signal.h>
|
||||||
#include <stdarg.h> // for va_list
|
#include <stdarg.h> // for va_list
|
||||||
#include <inttypes.h> // int64_t etc
|
#include <inttypes.h> // int64_t etc
|
||||||
|
#include <string.h> // memcpy
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <locale.h> // tolower
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#include <unistd.h> // sleep
|
||||||
#else
|
#else
|
||||||
#if defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ < __MSVCR90_DLL
|
#if defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ < __MSVCR90_DLL
|
||||||
#error Please upgrade your MinGW distribution to use msvcr90.dll or later.
|
#error Please upgrade your MinGW distribution to use msvcr90.dll or later.
|
||||||
|
|
Loading…
Reference in New Issue