From 41408f210482433457f68dd5415ae992365ce513 Mon Sep 17 00:00:00 2001 From: seyko Date: Thu, 5 Nov 2015 20:24:04 +0300 Subject: [PATCH] fix for the "tccgen.c: Use memmove for struct assignment" ./configure --enable-cross make tcc -o i386-tcc tcc.c tcc -o x86_64-tcc tcc.c tcc -o i386-win-tcc tcc.c In file included from tcc.c:22: In file included from libtcc.c:39: tccgen.c:2580: error: 'TOK_memmove' undeclared --- tcctok.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcctok.h b/tcctok.h index 3de3ae2..b749eca 100644 --- a/tcctok.h +++ b/tcctok.h @@ -294,10 +294,10 @@ DEF(TOK_memalign, "memalign") DEF(TOK_calloc, "calloc") # endif - DEF(TOK_memmove, "memmove") DEF(TOK_strlen, "strlen") DEF(TOK_strcpy, "strcpy") #endif + DEF(TOK_memmove, "memmove") /* Tiny Assembler */ DEF_ASM(byte)