X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=nucleus%2Flibrary%2Floggers%2Fcritical_events.h;fp=nucleus%2Flibrary%2Floggers%2Fcritical_events.h;h=fd392ae5a063f4276670d5db4ce17384c584aa4c;hp=86352c20ca0cecbda542848b4a800f3a88421402;hb=de0da7f2f7958d4ba652ff2ef5c79991700141ac;hpb=a4c99c6006b3aa20b5f65f02c2d30db7e790083a 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