From 54ba29acf0ed7fe6fa8e233d860a0ce1ecf7f077 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 17 Oct 2002 16:45:24 +0000 Subject: [PATCH] Fixed compilation for non-i386. --- dlls/rpcrt4/cproxy.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/dlls/rpcrt4/cproxy.c b/dlls/rpcrt4/cproxy.c index bb310aca3a7..433d5ab6905 100644 --- a/dlls/rpcrt4/cproxy.c +++ b/dlls/rpcrt4/cproxy.c @@ -84,13 +84,6 @@ struct StublessThunk { x->pad[1] = 0x76; \ x->pad[2] = 0x00; -#else -/* can't do that on this arch */ -struct ObjectStubless {}; -#define FILL_STUBLESS(x,idx) \ - ERR("stubless proxies are not supported on this architecture\n"); -#endif - static HRESULT WINAPI ObjectStubless(DWORD index) { char *args = (char*)(&index + 2); @@ -105,6 +98,16 @@ static HRESULT WINAPI ObjectStubless(DWORD index) return RPCRT4_NdrClientCall2(This->stubless->pStubDesc, fs, args); } +#else /* __i386__ */ + +/* can't do that on this arch */ +struct StublessThunk { int dummy; }; +#define FILL_STUBLESS(x,idx,stk) \ + ERR("stubless proxies are not supported on this architecture\n"); +#define STACK_ADJUST 0 + +#endif /* __i386__ */ + HRESULT WINAPI StdProxy_Construct(REFIID riid, LPUNKNOWN pUnkOuter, CInterfaceProxyVtbl *vtbl,