X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Flogging.cc;h=32a5791a8dfa7fec30110c41d505e700a533f211;hb=d1f49ba5aa8a06be74dedc60cdf56a2e74031b7b;hp=0b5e6ee97272cd5df4979e2c290db36bb8d62c79;hpb=7f95ecfdc7023ebc8074ad9c71a9e0f095e1eefa;p=platform%2Fupstream%2Fglog.git diff --git a/src/logging.cc b/src/logging.cc index 0b5e6ee..32a5791 100644 --- a/src/logging.cc +++ b/src/logging.cc @@ -1463,16 +1463,13 @@ void LogMessage::RecordCrashReason( # define ATTRIBUTE_NORETURN #endif +#if defined(OS_WINDOWS) +__declspec(noreturn) +#endif static void logging_fail() ATTRIBUTE_NORETURN; 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 - __debugbreak(); -#else abort(); -#endif } typedef void (*logging_fail_func_t)() ATTRIBUTE_NORETURN;