aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-09 13:06:33 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-09 13:06:33 +0000
commit5959d87188bd78fab466470228a657fc3b2eab9f (patch)
tree705987899445da75bc0359e155b19f3d53af5890
parent53b1c6c01ad43b71e7aead191b4a1751d428287d (diff)
downloadioquake3-aero-5959d87188bd78fab466470228a657fc3b2eab9f.tar.gz
ioquake3-aero-5959d87188bd78fab466470228a657fc3b2eab9f.zip
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
-rw-r--r--code/tools/lcc/cpp/unix.c4
1 files changed, 4 insertions, 0 deletions
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)
{