diff --git a/code/game/q_shared.h b/code/game/q_shared.h index 7ca448a0..5dba05d7 100644 --- a/code/game/q_shared.h +++ b/code/game/q_shared.h @@ -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__) +#if defined(__GNUC__) && !defined(__MINGW32__) // 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);