diff --git a/reactos/include/psdk/rpcndr.h b/reactos/include/psdk/rpcndr.h index ca8f4f75501..52f419bef61 100644 --- a/reactos/include/psdk/rpcndr.h +++ b/reactos/include/psdk/rpcndr.h @@ -142,7 +142,14 @@ typedef void (__RPC_USER *NDR_RUNDOWN)(void *context); typedef void (__RPC_USER *NDR_NOTIFY_ROUTINE)(void); typedef void (__RPC_USER *NDR_NOTIFY2_ROUTINE)(boolean flag); -#define DECLSPEC_UUID(x) +#ifndef DECLSPEC_UUID + #if defined(_MSC_VER) && defined(__cplusplus) + #define DECLSPEC_UUID(x) __declspec(uuid(x)) + #else + #define DECLSPEC_UUID(x) + #endif +#endif /* DECLSPEC_UUID */ + #define MIDL_INTERFACE(x) struct struct _MIDL_STUB_MESSAGE;