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/md4.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/md4.c')
-rw-r--r-- | code/qcommon/md4.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/code/qcommon/md4.c b/code/qcommon/md4.c index 323798b..24b7961 100644 --- a/code/qcommon/md4.c +++ b/code/qcommon/md4.c @@ -38,8 +38,13 @@ void MD4Init (MD4_CTX *); void MD4Update (MD4_CTX *, const unsigned char *, unsigned int); void MD4Final (unsigned char [16], MD4_CTX *); +#if I_WANT_A_CUSTOM_MEMCPY void Com_Memset (void* dest, const int val, const size_t count); void Com_Memcpy (void* dest, const void* src, const size_t count); +#else +#define Com_Memset memset +#define Com_Memcpy memcpy +#endif /* MD4C.C - RSA Data Security, Inc., MD4 message-digest algorithm */ /* Copyright (C) 1990-2, RSA Data Security, Inc. All rights reserved. |