aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/q_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/game/q_shared.h')
-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 4b4fa31..c3a803c 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
-#ifdef __linux__
+#if defined(__GNUC__)
// 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);