Module: wine Branch: master Commit: 21c395cbfac70fafb4cb54da0299efc52cf63868 URL: http://source.winehq.org/git/wine.git/?a=commit;h=21c395cbfac70fafb4cb54da02...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Aug 29 15:09:40 2013 +0200
guiddef.h: Better GUID declaration for widl.
---
include/guiddef.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/guiddef.h b/include/guiddef.h index b7de1b1..36c932c 100644 --- a/include/guiddef.h +++ b/include/guiddef.h @@ -18,6 +18,16 @@
#ifndef GUID_DEFINED #define GUID_DEFINED + +#ifdef __WIDL__ +typedef struct +{ + unsigned long Data1; + unsigned short Data2; + unsigned short Data3; + byte Data4[ 8 ]; +} GUID; +#else typedef struct _GUID { #ifdef _MSC_VER @@ -29,6 +39,7 @@ typedef struct _GUID unsigned short Data3; unsigned char Data4[ 8 ]; } GUID; +#endif
/* Macros for __uuidof emulation */ #if defined(__cplusplus) && !defined(_MSC_VER)