aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-11-05 20:24:04 +0300
committerseyko <seyko2@gmail.com>2015-11-05 20:24:04 +0300
commit41408f210482433457f68dd5415ae992365ce513 (patch)
treeef9b6db462a387256004e1e97c1ed329863bc3a1
parent0ad87a094cf791e45bd3e96941c59d195361be0e (diff)
downloadtinycc-41408f210482433457f68dd5415ae992365ce513.tar.gz
tinycc-41408f210482433457f68dd5415ae992365ce513.tar.bz2
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
-rw-r--r--tcctok.h2
1 files changed, 1 insertions, 1 deletions
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)