aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
Diffstat (limited to 'code/client')
-rw-r--r--code/client/cl_keys.c2
-rw-r--r--code/client/snd_mix.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c
index cf14d97..9d2a3f5 100644
--- a/code/client/cl_keys.c
+++ b/code/client/cl_keys.c
@@ -1040,7 +1040,7 @@ void CL_KeyEvent (int key, qboolean down, unsigned time) {
}
}
-#ifdef __linux__
+#ifndef _WIN32
if (key == K_ENTER)
{
if (down)
diff --git a/code/client/snd_mix.c b/code/client/snd_mix.c
index 8426b60..a363c6a 100644
--- a/code/client/snd_mix.c
+++ b/code/client/snd_mix.c
@@ -34,8 +34,8 @@ int* snd_p;
int snd_linear_count;
short* snd_out;
-#if !( (defined __linux__ || defined __FreeBSD__ || defined __MINGW32__ ) && (defined __i386__) ) // rb010123
-#if !id386
+#if !( (defined __GNUC__) && (defined __i386__) ) // if not a GNU x86 target
+#if !id386 // if configured not to use asm
void S_WriteLinearBlastStereo16 (void)
{