aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/cpp
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-15 15:22:13 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-15 15:22:13 +0000
commitfcaf3865a609589bc57691c8a6fc6836a4e21e2d (patch)
tree1f6b5d989ede087a41c197d772639799b68f279b /code/tools/lcc/cpp
parent13be4dcd23eb6533973f523d27e95e9905a4a2f5 (diff)
downloadioquake3-aero-fcaf3865a609589bc57691c8a6fc6836a4e21e2d.tar.gz
ioquake3-aero-fcaf3865a609589bc57691c8a6fc6836a4e21e2d.zip
* x86 OS X support
git-svn-id: svn://svn.icculus.org/quake3/trunk@484 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools/lcc/cpp')
-rw-r--r--code/tools/lcc/cpp/unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/tools/lcc/cpp/unix.c b/code/tools/lcc/cpp/unix.c
index f58b51e..9d8e568 100644
--- a/code/tools/lcc/cpp/unix.c
+++ b/code/tools/lcc/cpp/unix.c
@@ -93,6 +93,7 @@ char *basepath( char *fname )
/* 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
+#ifndef MACOS_X /* always use the system memmove() on Mac OS X. --ryan. */
#ifdef memmove
#undef memmove
#endif
@@ -118,3 +119,4 @@ memmove(void *dp, const void *sp, size_t n)
}
return 0;
}
+#endif