Fix x64/Debug build on MSVS
authortbennun <tbennun@gmail.com>
Fri, 13 Mar 2015 05:56:59 +0000 (07:56 +0200)
committertbennun <tbennun@gmail.com>
Fri, 13 Mar 2015 05:56:59 +0000 (07:56 +0200)
src/logging.cc

index f1f519a..2bb5f12 100644 (file)
@@ -1459,7 +1459,7 @@ static void logging_fail() {
 #if defined(_DEBUG) && defined(_MSC_VER)
   // When debugging on windows, avoid the obnoxious dialog and make
   // it possible to continue past a LOG(FATAL) in the debugger
-  _asm int 3
+  __debugbreak();
 #else
   abort();
 #endif