include: Avoid type redefinition.

UUID_DEFINED doesn't exist on Windows but it's needed by
wine because of the usage of some wine private headers.
And some older compilers can't handle the redefinition.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46892
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2019-03-24 10:52:55 +08:00 committed by Alexandre Julliard
parent 29503f2464
commit f76447bbab
1 changed files with 4 additions and 0 deletions

View File

@ -202,7 +202,11 @@ typedef NTSTATUS (WINAPI *PIO_QUERY_DEVICE_ROUTINE)(PVOID,PUNICODE_STRING,INTERF
PKEY_VALUE_FULL_INFORMATION*,CONFIGURATION_TYPE,ULONG,PKEY_VALUE_FULL_INFORMATION*);
typedef void (NTAPI EXPAND_STACK_CALLOUT)(void*);
typedef EXPAND_STACK_CALLOUT *PEXPAND_STACK_CALLOUT;
#ifndef UUID_DEFINED
#define UUID_DEFINED
typedef GUID UUID;
#endif
NTSTATUS WINAPI ExUuidCreate(UUID*);
NTSTATUS WINAPI IoQueryDeviceDescription(PINTERFACE_TYPE,PULONG,PCONFIGURATION_TYPE,PULONG,