X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Floggers%2Fcritical_events.h;h=fd392ae5a063f4276670d5db4ce17384c584aa4c;hb=6f4f86051d7e4ad4755152503098bbb3888e4aad;hp=86352c20ca0cecbda542848b4a800f3a88421402;hpb=24cc3eb21befb743dfebaea4048e7082bb14a740;p=feisty_meow.git diff --git a/nucleus/library/loggers/critical_events.h b/nucleus/library/loggers/critical_events.h index 86352c20..fd392ae5 100644 --- a/nucleus/library/loggers/critical_events.h +++ b/nucleus/library/loggers/critical_events.h @@ -20,9 +20,10 @@ namespace loggers { //! This macro wraps the notion of stopping in the debugger. -#ifndef _MSC_VER +//#ifndef _MSC_VER #define CAUSE_BREAKPOINT -//hmmm: need a unix equivalent for this. supporting gcc might be enough. +//hmmm: need a unix equivalent for this, see old below for doze? +/* #else #ifdef __MINGW32__ extern "C" { @@ -35,6 +36,7 @@ namespace loggers { #define CAUSE_BREAKPOINT __debugbreak() #endif #endif +*/ //! Tests the value "check" to ensure that it's not zero. /*! This can be used instead of an ASSERT macro to check conditions in