From 1558de3a7b52c5e03a10a2624c2b1603e22a218e Mon Sep 17 00:00:00 2001 From: DwifteJB Date: Wed, 4 Mar 2026 21:38:45 +0000 Subject: [PATCH] fix: use intel_syntax --- Minecraft.Client/IobShim.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/IobShim.cpp b/Minecraft.Client/IobShim.cpp index a3059f496..2ad1a253b 100644 --- a/Minecraft.Client/IobShim.cpp +++ b/Minecraft.Client/IobShim.cpp @@ -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" ); }