mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
fix: use intel_syntax
This commit is contained in:
parent
ee78a74025
commit
1558de3a7b
|
|
@ -20,7 +20,9 @@ extern "C" FILE* __cdecl __acrt_iob_func(unsigned index);
|
|||
|
||||
extern "C" __attribute__((naked)) FILE* __cdecl __iob_func(void) {
|
||||
__asm__(
|
||||
"xorl %ecx, %ecx\n\t"
|
||||
"jmp __acrt_iob_func"
|
||||
".intel_syntax noprefix\n\t"
|
||||
"xor ecx, ecx\n\t"
|
||||
"jmp __acrt_iob_func\n\t"
|
||||
".att_syntax prefix"
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue