Piotr Caban : msvcp70: Fix ios_base definition.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 29 15:42:42 CST 2014


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Thu Dec 25 16:50:27 2014 +0100

msvcp70: Fix ios_base definition.

---

 dlls/msvcp90/msvcp90.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/msvcp90/msvcp90.h b/dlls/msvcp90/msvcp90.h
index d7c0a31..5e7b427 100644
--- a/dlls/msvcp90/msvcp90.h
+++ b/dlls/msvcp90/msvcp90.h
@@ -352,7 +352,7 @@ typedef struct _ios_base {
     const vtable_ptr *vtable;
 #if _MSVCP_VER >= 100
     MSVCP_size_t DECLSPEC_ALIGN(8) stdstr;
-#else
+#elif _MSVCP_VER >= 71
     MSVCP_size_t stdstr;
 #endif
     IOSB_iostate state;
@@ -363,6 +363,9 @@ typedef struct _ios_base {
     IOS_BASE_iosarray *arr;
     IOS_BASE_fnarray *calls;
     locale *loc;
+#if _MSVCP_VER == 70
+    MSVCP_size_t stdstr;
+#endif
 } ios_base;
 
 /* class basic_streambuf<char> */




More information about the wine-cvs mailing list