Mac OS X needs Com_Memcpy and Com_Memset to be set to memcpy and memset.
This commit is contained in:
1 parent
29db2dbbfd
commit
8866ce3f8b
3 files changed
+92
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user