a bunch of cleaning to get wayward unit tests passing on windows. not there yet.
[feisty_meow.git] / nucleus / library / loggers / critical_events.h
index f814de50a521b3ab1435620a944ac80b3a8b6337..86352c20ca0cecbda542848b4a800f3a88421402 100644 (file)
 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__)
+#else
   #ifdef __MINGW32__
     extern "C" {
 //      #include <ddk/winddi.h>