msvc: Fix condition for "naked" defintion
This commit is contained in:
parent
d826d8123a
commit
0fbee12dc0
|
@ -288,8 +288,8 @@ 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))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue