include/ddk: Make ntddk.h compatible with systems that don't support nameless unions.

Francois Gouget fgouget at free.fr
Sat Feb 28 10:30:51 CST 2015


---
 include/ddk/ntddk.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/ddk/ntddk.h b/include/ddk/ntddk.h
index e9c3fba..bccfd39 100644
--- a/include/ddk/ntddk.h
+++ b/include/ddk/ntddk.h
@@ -119,8 +119,8 @@ typedef struct _IMAGE_INFO
             ULONG ImageMappedToAllPids : 1;
             ULONG ExtendedInfoPresent  : 1;
             ULONG Reserved             : 21;
-        };
-    };
+        } DUMMYSTRUCTNAME;
+    } DUMMYUNIONNAME;
     PVOID  ImageBase;
     ULONG  ImageSelector;
     SIZE_T ImageSize;
-- 
2.1.4



More information about the wine-patches mailing list