diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-06 18:22:49 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-06 18:22:49 +0000 |
commit | 085e14dff1f8e76a7c7ae2afc74d04d3675736a6 (patch) | |
tree | ef42504c50e500c920593be5eb5ad8fd9a22aebf /code/qcommon/common.c | |
parent | ed460fe3673ae043ad58d9afd76b989e73935236 (diff) | |
download | ioquake3-aero-085e14dff1f8e76a7c7ae2afc74d04d3675736a6.tar.gz ioquake3-aero-085e14dff1f8e76a7c7ae2afc74d04d3675736a6.zip |
use system memcpy and memset
git-svn-id: svn://svn.icculus.org/quake3/trunk@301 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/common.c')
-rw-r--r-- | code/qcommon/common.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c index a2f76b9..3b582fc 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -2824,9 +2824,7 @@ void Com_Shutdown (void) { } -#if !( defined __GNUC__ ) // GNU versions in linux_common.c -#if !id386 - +#if I_WANT_A_CUSTOM_MEMCPY && !defined(_WIN32) void Com_Memcpy (void* dest, const void* src, const size_t count) { memcpy(dest, src, count); @@ -2837,7 +2835,7 @@ void Com_Memset (void* dest, const int val, const size_t count) memset(dest, val, count); } -#else +#elif I_WANT_A_CUSTOM_MEMCPY && defined(_WIN32) typedef enum { @@ -3136,7 +3134,6 @@ skipClamp: } } #endif -#endif //------------------------------------------------------------------------ |