Jacek Caban : mshtml: Don' t use WINAPI for assembly functions to avoid linker warnings on mingw.

Alexandre Julliard julliard at winehq.org
Tue Dec 6 15:46:18 CST 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Dec  6 11:09:40 2011 +0100

mshtml: Don't use WINAPI for assembly functions to avoid linker warnings on mingw.

---

 dlls/mshtml/ifacewrap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/ifacewrap.c b/dlls/mshtml/ifacewrap.c
index 006afd2..0e49190 100644
--- a/dlls/mshtml/ifacewrap.c
+++ b/dlls/mshtml/ifacewrap.c
@@ -88,7 +88,7 @@ static HRESULT WINAPI wrapper_Release(IUnknown *iface)
 #ifdef __i386__
 
 #define DEFINE_WRAPPER_FUNC(n, off, x)          \
-    HRESULT WINAPI wrapper_func_##n(IUnknown*); \
+    HRESULT wrapper_func_##n(IUnknown*);        \
     __ASM_GLOBAL_FUNC(wrapper_func_##n,         \
         "movl 4(%esp), %eax\n\t"                \
         "movl 4(%eax), %eax\n\t"                \




More information about the wine-cvs mailing list