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
This commit is contained in:
seyko 2015-11-05 20:24:04 +03:00
parent 0ad87a094c
commit 41408f2104

View File

@ -294,10 +294,10 @@
DEF(TOK_memalign, "memalign") DEF(TOK_memalign, "memalign")
DEF(TOK_calloc, "calloc") DEF(TOK_calloc, "calloc")
# endif # endif
DEF(TOK_memmove, "memmove")
DEF(TOK_strlen, "strlen") DEF(TOK_strlen, "strlen")
DEF(TOK_strcpy, "strcpy") DEF(TOK_strcpy, "strcpy")
#endif #endif
DEF(TOK_memmove, "memmove")
/* Tiny Assembler */ /* Tiny Assembler */
DEF_ASM(byte) DEF_ASM(byte)