svnno****@sourc*****
svnno****@sourc*****
2014年 11月 19日 (水) 22:13:20 JST
Revision: 5704 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5704 Author: maya Date: 2014-11-19 22:13:18 +0900 (Wed, 19 Nov 2014) Log Message: ----------- Visual Studio 2008 以上では意味がないので、#if で無効にする Modified Paths: -------------- trunk/teraterm/common/compat_w95.h -------------- next part -------------- Modified: trunk/teraterm/common/compat_w95.h =================================================================== --- trunk/teraterm/common/compat_w95.h 2014-11-19 12:54:11 UTC (rev 5703) +++ trunk/teraterm/common/compat_w95.h 2014-11-19 13:13:18 UTC (rev 5704) @@ -3,6 +3,9 @@ // // cf.http://jet2.u-abel.net/program/tips/forceimp.htm + +#if _MSC_VER == 1400 + // \x91\x95\x8F\xFC\x82\xB3\x82ꂽ\x96\xBC\x91O\x82̃A\x83h\x83\x8C\x83X\x82\xF0\x8D\xEC\x82邽\x82߂̉\xBC\x92\xE8\x8B` // (\x82\xB1\x82ꂾ\x82\xAF\x82ŃC\x83\x93\x83|\x81[\x83g\x82\xF0\x89\xA1\x8E\xE6\x82肵\x82Ă\xA2\x82\xE9) #ifdef __cplusplus @@ -70,3 +73,18 @@ = (int) (DoCover_IsDebuggerPresent(), 0); } #endif + +#else /* _MSC_VER */ + +#ifdef __cplusplus +extern "C" { +#endif +void __stdcall DoCover_IsDebuggerPresent() +{ + // NOP +} +#ifdef __cplusplus +} +#endif + +#endif /* _MSC_VER */