Fixed ifdef

This commit is contained in:
pagefault
2001-05-06 01:10:58 +00:00
parent 34483ab7a1
commit a8ee5e3149

View File

@@ -350,7 +350,7 @@ NEWSYM getcmdline
.next2 .next2
cmp eax,edi cmp eax,edi
je .nomore je .nomore
%ifdef __LINUX__ %ifdef __LINUX__
cmp byte[eax],'/' cmp byte[eax],'/'
%else %else
cmp byte[eax],'\' cmp byte[eax],'\'
@@ -1515,12 +1515,11 @@ NEWSYM gotoroot, db '\',0
SECTION .text SECTION .text
NEWSYM DosExit ; Terminate Program NEWSYM DosExit ; Terminate Program
%ifdef __LINUX__
call LinuxExit
%endif
%ifdef __WIN32__ %ifdef __WIN32__
call OSExit call OSExit
%else %elifdef __LINUX__
call LinuxExit
%elifdef __MSDOS__
jmp .nodeallocate jmp .nodeallocate
mov ebx,memfreearray mov ebx,memfreearray