mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 05:31:29 +00:00
Fix x64 compilation on MSVC
This commit is contained in:
parent
6a3142d2c1
commit
95691ded36
1 changed files with 3 additions and 1 deletions
|
@ -413,7 +413,8 @@ static void DoSyscall(void)
|
|||
|
||||
vm_t *savedVM;
|
||||
|
||||
#if defined(_MSC_VER) && !idx64
|
||||
#if defined(_MSC_VER)
|
||||
#if !idx64
|
||||
__asm
|
||||
{
|
||||
mov dword ptr syscallNum, eax
|
||||
|
@ -422,6 +423,7 @@ static void DoSyscall(void)
|
|||
mov dword ptr opStackBase, edi
|
||||
mov dword ptr arg, ecx
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
__asm__ volatile(
|
||||
""
|
||||
|
|
Loading…
Reference in a new issue