From 5959d87188bd78fab466470228a657fc3b2eab9f Mon Sep 17 00:00:00 2001 From: ludwig Date: Sun, 9 Oct 2005 13:06:33 +0000 Subject: ugly: undefine memmove to avoid build failure with gcc fortify extensions enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@151 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/lcc/cpp/unix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/tools/lcc/cpp/unix.c b/code/tools/lcc/cpp/unix.c index a845a60..749736c 100644 --- a/code/tools/lcc/cpp/unix.c +++ b/code/tools/lcc/cpp/unix.c @@ -92,6 +92,10 @@ setup(int argc, char **argv) /* memmove is defined here because some vendors don't provide it at all and others do a terrible job (like calling malloc) */ +// -- ouch, that hurts -- ln +#ifdef memmove +#undef memmove +#endif void * memmove(void *dp, const void *sp, size_t n) { -- cgit v1.2.3