diff --git a/sfizz/AtomicGuard.h b/sfizz/AtomicGuard.h index 4577083d..c36f1bd4 100644 --- a/sfizz/AtomicGuard.h +++ b/sfizz/AtomicGuard.h @@ -41,6 +41,7 @@ public: private: std::atomic& guard; }; + class AtomicDisabler { public: diff --git a/sfizz/Debug.h b/sfizz/Debug.h index 49a2d3a3..4c7c3625 100644 --- a/sfizz/Debug.h +++ b/sfizz/Debug.h @@ -25,10 +25,7 @@ #ifndef NDEBUG #include -// These trap into the signal library rather than your own sourcecode -// #include -// #define ASSERTFALSE { ::kill(0, SIGTRAP); } -// #define ASSERTFALSE { raise(SIGTRAP); } + #if (__linux__ || __unix__) // Break in source code