Rob Shearman : dbghelp: Define NONAMELESSUNION in dwarf.c and type. c as they access VARIANT fields directly.

Alexandre Julliard julliard at winehq.org
Thu Feb 28 06:21:39 CST 2008


Module: wine
Branch: master
Commit: 97a9ca3f4ae96541b2a1c2f3a263c21a521c06b7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=97a9ca3f4ae96541b2a1c2f3a263c21a521c06b7

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Feb 27 19:02:39 2008 +0000

dbghelp: Define NONAMELESSUNION in dwarf.c and type.c as they access VARIANT fields directly.

---

 dlls/dbghelp/dwarf.c |    2 ++
 dlls/dbghelp/type.c  |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 81f3c7f..8965f7f 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#define NONAMELESSUNION
+
 #include "config.h"
 
 #include <sys/types.h>
diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 7978a1c..aeb3e75 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -21,6 +21,9 @@
  * Note: This really doesn't do much at the moment, but it forms the framework
  * upon which full support for datatype handling will eventually be built.
  */
+
+#define NONAMELESSUNION
+
 #include "config.h"
 #include <stdlib.h>
 #include <stdarg.h>




More information about the wine-cvs mailing list