From f6f5b8cfb10d8b7d97eeab9cc8d3e93620d5a75a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 26 Oct 2019 11:51:22 +0300 Subject: [PATCH] bring back string.h for now --- vlib/builtin/cfns.v | 2 +- vlib/compiler/cheaders.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/builtin/cfns.v b/vlib/builtin/cfns.v index 1e5654c544..3a0171200d 100644 --- a/vlib/builtin/cfns.v +++ b/vlib/builtin/cfns.v @@ -3,7 +3,7 @@ module builtin // fn C.memcpy(byteptr, byteptr, int) voidptr -fn C.memmove(byteptr, byteptr, int) +fn C.memmove(byteptr, byteptr, int) voidptr //fn C.malloc(int) byteptr fn C.realloc(a byteptr, b int) byteptr diff --git a/vlib/compiler/cheaders.v b/vlib/compiler/cheaders.v index b9b4c44248..2038e6ef7e 100644 --- a/vlib/compiler/cheaders.v +++ b/vlib/compiler/cheaders.v @@ -9,7 +9,7 @@ CommonCHeaders = ' #include #include // for va_list #include // int64_t etc -//#include // memcpy +#include // memcpy #ifndef _WIN32 #include