From 534da92fc055622eb81f4384072e62d228ca0b34 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 26 Sep 2005 20:39:57 +0000 Subject: [PATCH] * Fix to MinGW build --- code/game/q_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);