Fixed ifdef
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user