X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Floggers%2Fcritical_events.h;h=fd392ae5a063f4276670d5db4ce17384c584aa4c;hb=7f5404c28c6c182b196f76d7e8bee94ce7943086;hp=f814de50a521b3ab1435620a944ac80b3a8b6337;hpb=3ea085ec301ed1399dfa1e9f3a240312dc95410b;p=feisty_meow.git diff --git a/nucleus/library/loggers/critical_events.h b/nucleus/library/loggers/critical_events.h index f814de50..fd392ae5 100644 --- a/nucleus/library/loggers/critical_events.h +++ b/nucleus/library/loggers/critical_events.h @@ -20,10 +20,11 @@ namespace loggers { //! This macro wraps the notion of stopping in the debugger. -#ifdef __UNIX__ +//#ifndef _MSC_VER #define CAUSE_BREAKPOINT -//hmmm: need a unix equivalent for this. supporting gcc might be enough. -#elif defined(__WIN32__) +//hmmm: need a unix equivalent for this, see old below for doze? +/* +#else #ifdef __MINGW32__ extern "C" { // #include @@ -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