From 085e14dff1f8e76a7c7ae2afc74d04d3675736a6 Mon Sep 17 00:00:00 2001 From: ludwig Date: Sun, 6 Nov 2005 18:22:49 +0000 Subject: use system memcpy and memset git-svn-id: svn://svn.icculus.org/quake3/trunk@301 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/md4.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'code/qcommon/md4.c') 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. -- cgit v1.2.3