msvc: Fix condition for "naked" defintion
This commit is contained in:
parent
d826d8123a
commit
0fbee12dc0
|
@ -288,7 +288,7 @@ int darw_printf(const wchar* Text,...);
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
//used for asm-olny functions
|
//used for asm-olny functions
|
||||||
#if defined(X86) && defined(_MSC_VER)
|
#ifdef _M_IX86
|
||||||
#define naked __declspec(naked)
|
#define naked __declspec(naked)
|
||||||
#else
|
#else
|
||||||
#define naked __attribute__((naked))
|
#define naked __attribute__((naked))
|
||||||
|
|
Loading…
Reference in New Issue