[PSDK] Define rpcndr.h DECLSPEC_UUID in consistency with the one in winnt.h. Fixes some redefinition warnings.

svn path=/trunk/; revision=65762
This commit is contained in:
Amine Khaldi 2014-12-20 16:26:03 +00:00
parent b992e53d8e
commit b2b224b527

View file

@ -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;