aboutsummaryrefslogtreecommitdiff
path: root/src/win/winapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/winapi.h')
-rw-r--r--src/win/winapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/win/winapi.h b/src/win/winapi.h
index cfbac52e..2a8adf6b 100644
--- a/src/win/winapi.h
+++ b/src/win/winapi.h
@@ -4109,6 +4109,9 @@
#endif
/* from winternl.h */
+#if !defined(__UNICODE_STRING_DEFINED) && defined(__MINGW32_)
+#define __UNICODE_STRING_DEFINED
+#endif
typedef struct _UNICODE_STRING {
USHORT Length;
USHORT MaximumLength;