mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
it's better to do this locally and update v.c manually
This commit is contained in:
parent
75f382c903
commit
b91a537c35
6
fns.h
6
fns.h
@ -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);
|
||||
*/
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user