Fixed compilation for non-i386.

This commit is contained in:
Alexandre Julliard 2002-10-17 16:45:24 +00:00
parent 0ca051e555
commit 54ba29acf0
1 changed files with 10 additions and 7 deletions

View File

@ -84,13 +84,6 @@ struct StublessThunk {
x->pad[1] = 0x76; \ x->pad[1] = 0x76; \
x->pad[2] = 0x00; 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) static HRESULT WINAPI ObjectStubless(DWORD index)
{ {
char *args = (char*)(&index + 2); char *args = (char*)(&index + 2);
@ -105,6 +98,16 @@ static HRESULT WINAPI ObjectStubless(DWORD index)
return RPCRT4_NdrClientCall2(This->stubless->pStubDesc, fs, args); 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, HRESULT WINAPI StdProxy_Construct(REFIID riid,
LPUNKNOWN pUnkOuter, LPUNKNOWN pUnkOuter,
CInterfaceProxyVtbl *vtbl, CInterfaceProxyVtbl *vtbl,