include/winnt.h: rename structs to fix compile with recent gcc

Austin English austinenglish at gmail.com
Thu May 20 17:49:51 CDT 2010


Using gcc from SVN to compile wine64 was broken for me, while
gcc-4.4.3 compiled this fine.

-- 
-Austin
-------------- next part --------------
diff --git a/include/winnt.h b/include/winnt.h
index d8fbbfd..eb3ab2c 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -1047,7 +1047,7 @@ typedef struct _KNONVOLATILE_CONTEXT_POINTERS
             PM128A Xmm13;
             PM128A Xmm14;
             PM128A Xmm15;
-        } DUMMYSTRUCTNAME;
+        } DUMMYSTRUCTNAME1;
     } DUMMYUNIONNAME1;

     union
@@ -1071,7 +1071,7 @@ typedef struct _KNONVOLATILE_CONTEXT_POINTERS
             PULONG64 R13;
             PULONG64 R14;
             PULONG64 R15;
-        } DUMMYSTRUCTNAME;
+        } DUMMYSTRUCTNAME2;
     } DUMMYUNIONNAME2;
 } KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS;


More information about the wine-patches mailing list