From a8ee5e314925197cf1e4a9215a6fdbbc13a98d35 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Sun, 6 May 2001 01:10:58 +0000 Subject: [PATCH] Fixed ifdef --- zsnes/src/ui.asm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/zsnes/src/ui.asm b/zsnes/src/ui.asm index 21474899..b80e7f91 100644 --- a/zsnes/src/ui.asm +++ b/zsnes/src/ui.asm @@ -350,7 +350,7 @@ NEWSYM getcmdline .next2 cmp eax,edi je .nomore - %ifdef __LINUX__ +%ifdef __LINUX__ cmp byte[eax],'/' %else cmp byte[eax],'\' @@ -1515,12 +1515,11 @@ NEWSYM gotoroot, db '\',0 SECTION .text NEWSYM DosExit ; Terminate Program -%ifdef __LINUX__ - call LinuxExit -%endif %ifdef __WIN32__ call OSExit -%else +%elifdef __LINUX__ + call LinuxExit +%elifdef __MSDOS__ jmp .nodeallocate mov ebx,memfreearray