From fcaf3865a609589bc57691c8a6fc6836a4e21e2d Mon Sep 17 00:00:00 2001 From: tma Date: Sun, 15 Jan 2006 15:22:13 +0000 Subject: * x86 OS X support git-svn-id: svn://svn.icculus.org/quake3/trunk@484 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/lcc/cpp/unix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'code/tools/lcc/cpp') 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 -- cgit v1.2.3