[PATCH 1/3] include: Fix vararg standard call types for ARM

André Hentschel nerv at dawncrow.de
Tue Apr 9 14:55:47 CDT 2019


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 include/basetyps.h | 4 ++--
 include/winnt.h    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/basetyps.h b/include/basetyps.h
index d55005fbd79..b7a77e2c31c 100644
--- a/include/basetyps.h
+++ b/include/basetyps.h
@@ -27,9 +27,9 @@
 #endif
 
 #define STDMETHODCALLTYPE  __stdcall
-#define STDMETHODVCALLTYPE __cdecl
+#define STDMETHODVCALLTYPE WINAPIV
 #define STDAPICALLTYPE     __stdcall
-#define STDAPIVCALLTYPE    __cdecl
+#define STDAPIVCALLTYPE    WINAPIV
 #define STDAPI             EXTERN_C HRESULT STDAPICALLTYPE
 #define STDAPI_(t)         EXTERN_C t STDAPICALLTYPE
 #define STDMETHODIMP       HRESULT STDMETHODCALLTYPE
diff --git a/include/winnt.h b/include/winnt.h
index 29a7372c89e..9e5b3d08f0f 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -413,9 +413,9 @@ extern "C++" { \
 #endif
 
 #define STDMETHODCALLTYPE       __stdcall
-#define STDMETHODVCALLTYPE      __cdecl
+#define STDMETHODVCALLTYPE      WINAPIV
 #define STDAPICALLTYPE          __stdcall
-#define STDAPIVCALLTYPE         __cdecl
+#define STDAPIVCALLTYPE         WINAPIV
 
 #define STDAPI                  EXTERN_C HRESULT STDAPICALLTYPE
 #define STDAPI_(type)           EXTERN_C type STDAPICALLTYPE
-- 
2.17.1





More information about the wine-devel mailing list