summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-12-16 20:05:33 +0300
committerAndrey Nazarov <skuller@skuller.net>2010-12-16 20:05:33 +0300
commit5a82e0cd1fbe4156622bbab57de0e719b572fc2e (patch)
tree593af8bf1d57fb7ea6cd9f4313432a4743d88fee /src/common.c
parent35ee0fff510ce005166f3f04895524b6cdd92bcb (diff)
Avoid #ifdef checks for __unix__.
Assume everything that isn't _WIN32 is Unix. Needed since some Unix systems don't define __unix__ (e.g. Mac OS X), and we don't support anything else anyway.
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index d10ce5f..642a89f 100644
--- a/src/common.c
+++ b/src/common.c
@@ -298,7 +298,7 @@ static void logfile_write( print_type_t type, const char *string ) {
FS_Write( text, len, com_logFile );
}
-#ifdef __unix__
+#ifndef _WIN32
/*
=============
Com_FlushLogs