Alexandre Julliard : include: Disable the asm optimizations for the Windows build.

Alexandre Julliard julliard at winehq.org
Wed Dec 10 07:41:27 CST 2008


Module: wine
Branch: master
Commit: 4bddbedc4189ff58bcc986b9f89f56cbc9c2066b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4bddbedc4189ff58bcc986b9f89f56cbc9c2066b

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Dec  9 17:10:20 2008 +0100

include: Disable the asm optimizations for the Windows build.

---

 include/winbase.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/winbase.h b/include/winbase.h
index 6fa4dce..e3c8ec9 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -2460,7 +2460,7 @@ static inline LONG WINAPI InterlockedDecrement( LONG volatile *dest )
 
 /* A few optimizations for gcc */
 
-#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64))
+#if defined(__GNUC__) && !defined(__MINGW32__) && (defined(__i386__) || defined(__x86_64__))
 
 extern inline DWORD WINAPI GetLastError(void);
 extern inline DWORD WINAPI GetLastError(void)




More information about the wine-cvs mailing list