aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/game/q_shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game/q_shared.h b/code/game/q_shared.h
index 7ca448a..5dba05d 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);