aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/asm
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools/asm')
-rw-r--r--code/tools/asm/cmdlib.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/code/tools/asm/cmdlib.c b/code/tools/asm/cmdlib.c
index f3d8554..3f1ea3b 100644
--- a/code/tools/asm/cmdlib.c
+++ b/code/tools/asm/cmdlib.c
@@ -28,14 +28,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef WIN32
#include <direct.h>
#include <windows.h>
-#endif
-
-#ifdef __linux
-#include <unistd.h>
-#endif
-
-#ifdef NeXT
+#elif defined(NeXT)
#include <libc.h>
+#else
+#include <unistd.h>
#endif
#define BASEDIRNAME "quake" // assumed to have a 2 or 3 following