From f26e8090c22bf86c50016c45f4172909bf4fedb7 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Wed, 19 Oct 2005 19:06:49 +0000 Subject: [PATCH] Allow compilation on non-i386. --- dlls/oleaut32/tmarshal.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index d615156520e..a6931ca095f 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -344,7 +344,9 @@ typedef struct _TMAsmProxy { #include "poppack.h" #else /* __i386__ */ -# error You need to implement stubless proxies for your architecture +# warning You need to implement stubless proxies for your architecture +typedef struct _TMAsmProxy { +} TMAsmProxy; #endif typedef struct _TMProxyImpl { @@ -1939,6 +1941,7 @@ PSFacBuf_CreateProxy( for (j=0;jcParams;j++) nrofargs += _argsize(fdesc->lprgelemdescParam[j].tdesc.vt); +#ifdef __i386__ if (fdesc->callconv != CC_STDCALL) { ERR("calling convention is not stdcall????\n"); return E_FAIL; @@ -1963,6 +1966,10 @@ PSFacBuf_CreateProxy( xasm->bytestopop= (nrofargs+2)*4; /* pop args, This, iMethod */ proxy->lpvtbl[i] = xasm; break; +#else + FIXME("not implemented on non i386\n"); + return E_FAIL; +#endif } } } -- 2.11.4.GIT