Revision: 7654 https://osdn.net/projects/ttssh2/scm/svn/commits/7654 Author: zmatsuo Date: 2019-05-08 01:46:48 +0900 (Wed, 08 May 2019) Log Message: ----------- インラインアセンブラを使用しないブレークに置き換え Modified Paths: -------------- trunk/TTProxy/YCL/include/YCL/common.h -------------- next part -------------- Modified: trunk/TTProxy/YCL/include/YCL/common.h =================================================================== --- trunk/TTProxy/YCL/include/YCL/common.h 2019-05-07 16:46:27 UTC (rev 7653) +++ trunk/TTProxy/YCL/include/YCL/common.h 2019-05-07 16:46:48 UTC (rev 7654) @@ -73,8 +73,8 @@ return false; } -#define YCLASSERT(condition, message) if (YclAssert(condition, message)) {__asm { int 3 }} -#define YCLVERIFY(condition, message) if (YclAssert(condition, message)) {__asm { int 3 }} +#define YCLASSERT(condition, message) if (YclAssert(condition, message)) {__debugbreak();} +#define YCLVERIFY(condition, message) if (YclAssert(condition, message)) {__debugbreak();} #define malloc(l) _malloc_dbg((l), _NORMAL_BLOCK, __FILE__, __LINE__) #define realloc(p, l) _realloc_dbg((p), (l), _NORMAL_BLOCK, __FILE__, __LINE__)