Items with size 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog: dlls/ddraw/ddraw/user.h dlls/ddraw/dsurface/fakezbuffer.h
           include/ntddk.h tools/winedump/cvinclude.h
 - Forte C doesn't allow structures or arrays of size 0, so they have been 
fixed.
 
Gregg Mattinson
Co-op Developer
Sun Microsystems of Canada

Index: dlls/ddraw/ddraw/user.h
===================================================================
RCS file: /opcom/comp/ws/wine/CVSROOT/wine/dlls/ddraw/ddraw/user.h,v
retrieving revision 1.1
diff -u -r1.1 user.h
--- /tmp/T01KayyW	Thu Jul 11 14:22:39 2002
+++ user.h	Mon Jun 24 16:36:08 2002
@@ -25,6 +25,7 @@
 
 typedef struct
 {
+    int empty;
     /* empty */
 } User_DirectDrawImpl_Part;
 
Index: dlls/ddraw/dsurface/fakezbuffer.h
===================================================================
RCS file: /opcom/comp/ws/wine/CVSROOT/wine/dlls/ddraw/dsurface/fakezbuffer.h,v
retrieving revision 1.1
diff -u -r1.1 fakezbuffer.h
--- /tmp/T0y1aWyW	Thu Jul 11 14:22:41 2002
+++ fakezbuffer.h	Mon Jun 24 16:37:28 2002
@@ -21,6 +21,7 @@
 
 struct FakeZBuffer_DirectDrawSurfaceImpl_Part
 {
+  int dummy;
 };
 
 typedef struct
Index: include/ntddk.h
===================================================================
RCS file: /opcom/comp/ws/wine/CVSROOT/wine/include/ntddk.h,v
retrieving revision 1.1
diff -u -r1.1 ntddk.h
--- /tmp/T0cIaWDW	Thu Jul 11 14:23:41 2002
+++ ntddk.h	Tue Jun 25 15:22:04 2002
@@ -334,7 +334,9 @@
         DWORD dwPrivateBytes;
         DWORD dwPageFileBytes;
         DWORD dwUnknown7[4];
+#ifndef __SUNPRO_C
         THREADINFO ti[0];
+#endif
 } SYSTEM_PROCESS_INFORMATION;
 
 typedef struct {
Index: tools/winedump/cvinclude.h
===================================================================
RCS file: /opcom/comp/ws/wine/CVSROOT/wine/tools/winedump/cvinclude.h,v
retrieving revision 1.1
diff -u -r1.1 cvinclude.h
--- /tmp/T0d.a4RW	Thu Jul 11 14:24:23 2002
+++ cvinclude.h	Tue Jun 25 15:23:54 2002
@@ -154,7 +154,9 @@
 {
     unsigned short  cSeg;
     unsigned short  cSegLog;
+#ifndef __SUNPRO_C
     OMFSegMapDesc   rgDesc[0];
+#endif
 } OMFSegMap;
 
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux