PR/1910322: trouble using Windows VARIANT type.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@299 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/ChangeLog b/mingw-w64-headers/include/ChangeLog
index 9ac3db4..3d79d2b 100644
--- a/mingw-w64-headers/include/ChangeLog
+++ b/mingw-w64-headers/include/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-10  Kai Tietz  <kai.tietz@onevision.com>
+
+	PR/1910322: trouble using Windows VARIANT type.
+	* oledlg.h: Disable default use of NONAMELESSUNION for C.
+
 2008-03-06  Roland Schwingel  <roland.schwingel@onevision.com>
 
 	* winnt.h (PRODUCT_...): New.
diff --git a/mingw-w64-headers/include/oledlg.h b/mingw-w64-headers/include/oledlg.h
index 2f31820..75e7cf6 100644
--- a/mingw-w64-headers/include/oledlg.h
+++ b/mingw-w64-headers/include/oledlg.h
@@ -8,7 +8,7 @@
 
 #ifndef RC_INVOKED
 #ifndef __cplusplus
-#define NONAMELESSUNION
+/* #define NONAMELESSUNION */
 #endif
 
 #if defined(_UNICODE) && !defined(UNICODE)