From d442b41ec655b1f073f45ff165a717e4c99f5a62 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 10 Dec 2020 21:42:59 +0100 Subject: [PATCH] include: Avoid redefining base types in ntdef.h. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49106 Signed-off-by: Alexandre Julliard --- include/ntdef.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ntdef.h b/include/ntdef.h index 069e86575b8..68ced669baa 100644 --- a/include/ntdef.h +++ b/include/ntdef.h @@ -50,6 +50,7 @@ typedef enum _WAIT_TYPE { #define NT_WARNING(status) ((((NTSTATUS)(status)) & 0xc0000000) == 0x80000000) #define NT_ERROR(status) ((((NTSTATUS)(status)) & 0xc0000000) == 0xc0000000) +#ifndef BASETYPES #define BASETYPES typedef unsigned char UCHAR, *PUCHAR; typedef unsigned short USHORT, *PUSHORT; @@ -58,6 +59,7 @@ typedef unsigned long ULONG, *PULONG; #else typedef unsigned int ULONG, *PULONG; #endif +#endif typedef struct _RTL_BALANCED_NODE {