[email protected]

"Jiri Malak" <[email protected]> Sun, 2 Jan 2005 19:53:02 +0100
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <002c01c4f0fc$495dded0$0100a8c0@jirkaml>
Following patch fix winnt.h for non-X86 processor platforms.
There is problem with X86 in-line assembly code.
It is fixed by make conditional on _X86_ .

Regards

Jiri Malak




2004-12-31  Jiri Malak  <[email protected]>

     * include/winnt.h (GetCurrentFiber, GetFiberData): in-line 
     Intel assembly code make conditional on _X86_ .


--- winnt.h 7 Dec 2004 07:15:26 -0000 1.91
+++ winnt.h 30 Dec 2004 23:28:52 -0000
@@ -3346,6 +3346,8 @@
 PVOID GetCurrentFiber(void);
 PVOID GetFiberData(void);
 
+#ifdef _X86_
+
 #if defined(__GNUC__)
 #if (__GNUC__ >= 3)
 /* Support -masm=intel.  */
@@ -3433,6 +3435,8 @@
         
 #endif /* __GNUC__ */
 
+#endif
+
 #endif /* RC_INVOKED */
 
 #ifdef __cplusplus



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt