mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-30 07:41:16 +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