mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-24 02:14:43 +08:00
headers: Make __MACHINEI a no-op on non-x86 architectures
In older MSVC versions that had a __MACHINEI macro, it was defined to only expand on Intel 32 and 64 bit x86. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
95433fd59d
commit
69846cfb7f
@ -212,6 +212,11 @@ extern "C" {
|
||||
#define __MACHINEW64 __MACHINEZ
|
||||
#endif
|
||||
|
||||
#if !(defined(_X86_) || defined(__x86_64))
|
||||
#undef __MACHINEI
|
||||
#define __MACHINEI __MACHINEZ
|
||||
#endif
|
||||
|
||||
#if !(defined(_X86_) || defined(__x86_64))
|
||||
#undef __MACHINEX86X
|
||||
#define __MACHINEX86X __MACHINEZ
|
||||
|
Loading…
Reference in New Issue
Block a user