[Ttssh2-commit] [4705] Visual Studio 2008 + Windows SDK v6. 0a の組み合わせだと、

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 11月 3日 (木) 00:54:59 JST


Revision: 4705
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4705
Author:   yutakapon
Date:     2011-11-03 00:54:58 +0900 (Thu, 03 Nov 2011)

Log Message:
-----------
Visual Studio 2008 + Windows SDK v6.0a の組み合わせだと、
多重定義でコンパイルエラーとなるため、回避処置を行う。

Modified Paths:
--------------
    trunk/teraterm/teraterm/winjump.c


-------------- next part --------------
Modified: trunk/teraterm/teraterm/winjump.c
===================================================================
--- trunk/teraterm/teraterm/winjump.c	2011-11-01 15:44:22 UTC (rev 4704)
+++ trunk/teraterm/teraterm/winjump.c	2011-11-02 15:54:58 UTC (rev 4705)
@@ -282,6 +282,7 @@
     IObjectCollectionVtbl *lpVtbl;
 } IObjectCollection;
 
+#if !(_MSC_VER >= 1500)  // VC2008(VC9.0) or later
 typedef struct IPropertyStoreVtbl
 {
     HRESULT ( __stdcall *QueryInterface )(
@@ -322,6 +323,7 @@
 {
     IPropertyStoreVtbl *lpVtbl;
 } IPropertyStore;
+#endif
 
 static const CLSID CLSID_DestinationList = {
     0x77f10cf0, 0x3db5, 0x4966, {0xb5,0x20,0xb7,0xc5,0x4f,0xd3,0x5e,0xd6}



Ttssh2-commit メーリングリストの案内
Back to archive index