CVS: winex/include dbghelp.h, 1.1, 1.2 pshpack8.h, 1.2, 1.3

[email protected] 30 Aug 2007 14:15:28 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/include dbghelp.h,1.1,1.2 pshpack8.h,1.2,1.3Update of /var/lib/cvsd/cvsroot/winex/include
In directory agravaine:/tmp/cvs-serv18087/include

Modified Files:
	dbghelp.h pshpack8.h 
Log Message:

- forced the alignment of the SYMBOL_INFO struct to 8 bytes so it matches the layout under windows.
- removed an old warning for unsupported 8-byte alignment.  Mark verified that this is actually supported under mac & linux.


Index: dbghelp.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/dbghelp.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dbghelp.h	30 Aug 2007 14:14:28 -0000	1.1
+++ dbghelp.h	30 Aug 2007 14:15:26 -0000	1.2
@@ -811,6 +811,7 @@
 
 #define MAX_SYM_NAME    2000
 
+#include <pshpack8.h>
 typedef struct _SYMBOL_INFO
 {
     ULONG       SizeOfStruct;
@@ -848,6 +849,7 @@
     ULONG       MaxNameLen;
     WCHAR       Name[1];
 } SYMBOL_INFOW, *PSYMBOL_INFOW;
+#include <poppack.h>
 
 typedef enum _IMAGEHLP_SYMBOL_TYPE_INFO 
 {

Index: pshpack8.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/pshpack8.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pshpack8.h	13 Dec 2002 00:53:20 -0000	1.2
+++ pshpack8.h	30 Aug 2007 14:15:26 -0000	1.3
@@ -31,7 +31,6 @@
 
 #  if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(_MSC_VER)
 #    pragma pack(8)
-#    warning "8 as alignment is not supported"
 #  elif !defined(RC_INVOKED)
 #    error "Adjusting the alignment is not supported with this compiler"
 #  endif