]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Include/Common/WinNTInclude.h
Resolve a CreateEventEx name collision between VS 2008 windows.h and UefiSpec.h
[mirror_edk2.git] / Nt32Pkg / Include / Common / WinNTInclude.h
index 91daac6c3c25fc1d85586a9f0dd01dab0d795c0d..77a9e718d9e51060318da47e6a44269a1c3328da 100644 (file)
@@ -1,4 +1,4 @@
-/*++\r
+/**@file\r
 \r
 Copyright (c) 2006, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
@@ -15,7 +15,7 @@ Module Name:
 Abstract:\r
   Public include file for the WinNt Library\r
 \r
---*/\r
+**/\r
 \r
 #ifndef __WIN_NT_INCLUDE_H__\r
 #define __WIN_NT_INCLUDE_H__\r
@@ -40,6 +40,12 @@ Abstract:
 #undef UNALIGNED\r
 #undef CONST\r
 #undef VOID\r
+#undef DEBUG_EVENT\r
+\r
+// WQBugBug: This typedef is to make "windows.h" buildable.\r
+//                   It should be removed after the root cause why\r
+//                   size_t is undefined when go into the line below is found.\r
+typedef UINT32 size_t ;\r
 \r
 #include "windows.h"\r
 \r
@@ -50,6 +56,7 @@ Abstract:
 #undef InterlockedDecrement\r
 #undef InterlockedCompareExchange64\r
 #undef InterlockedCompareExchangePointer\r
+#undef CreateEventEx\r
 \r
 #define VOID void\r
 \r