diff --git a/include/ole.h b/include/ole.h index e5d4fab0767..ab01f85b832 100644 --- a/include/ole.h +++ b/include/ole.h @@ -178,8 +178,12 @@ typedef struct _OLESERVERDOCVTBL { OLESTATUS (CALLBACK *Close)(LPOLESERVERDOC); OLESTATUS (CALLBACK *SetHostNames)(LPOLESERVERDOC,LPCOLESTR16,LPCOLESTR16); OLESTATUS (CALLBACK *SetDocDimensions)(LPOLESERVERDOC,LPRECT16); -#undef GetObject /* FIXME */ +#ifdef __WINE__ +/* GetObject is a WINELIB_NAME macro so it cannot be used in Wine itself */ + OLESTATUS (CALLBACK *pGetObject)(LPOLESERVERDOC,LPCOLESTR16,LPOLEOBJECT*,LPOLECLIENT); +#else OLESTATUS (CALLBACK *GetObject)(LPOLESERVERDOC,LPCOLESTR16,LPOLEOBJECT*,LPOLECLIENT); +#endif OLESTATUS (CALLBACK *Release)(LPOLESERVERDOC); OLESTATUS (CALLBACK *SetColorScheme)(LPOLESERVERDOC,LPLOGPALETTE); OLESTATUS (CALLBACK *Execute)(LPOLESERVERDOC,HGLOBAL16);