[3/3] include: Better detect MIPS architecture

André Hentschel nerv at dawncrow.de
Fri Oct 29 09:34:47 CDT 2010


The way we do it for Alpha works great here, too.
---
 include/winnt.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/winnt.h b/include/winnt.h
index 3c38acc..f4e24d6 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -1309,7 +1309,7 @@ typedef struct _CONTEXT {
 
 
 /* Mips context definitions */
-#ifdef _MIPS_
+#if defined(_MIPS_) || defined(__MIPS__) || defined(__mips__)
 
 #define CONTEXT_R4000   0x00010000
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list