Mac OS X needs Com_Memcpy and Com_Memset to be set to memcpy and memset.

This commit is contained in:
Six 2005-10-08 06:30:38 +00:00
parent 29db2dbbfd
commit 8866ce3f8b
3 changed files with 92 additions and 3 deletions

View file

@ -476,7 +476,7 @@ void *Hunk_AllocDebug( int size, ha_pref preference, char *label, char *file, in
void *Hunk_Alloc( int size, ha_pref preference );
#endif
#if defined(__GNUC__) && !defined(__MINGW32__)
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(MACOS_X)
// https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=371
// custom Snd_Memset implementation for glibc memset bug workaround
void Snd_Memset (void* dest, const int val, const size_t count);