commit 22413340a6d8ef2ffbf38ce841fb44c448a1a84a
parent 878a183b59f4467118263c1c760f6ccb8efbe0bd
Author: falkTX <falktx@falktx.com>
Date: Sun, 20 Nov 2022 14:34:44 +0000
Allow using Signal class for mingw
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/distrho/extra/Mutex.hpp b/distrho/extra/Mutex.hpp
@@ -207,7 +207,7 @@ private:
DISTRHO_DECLARE_NON_COPYABLE(RecursiveMutex)
};
-#ifndef DISTRHO_OS_WINDOWS
+#ifndef _MSC_VER
// -----------------------------------------------------------------------
// Signal class
@@ -288,7 +288,7 @@ private:
DISTRHO_PREVENT_HEAP_ALLOCATION
DISTRHO_DECLARE_NON_COPYABLE(Signal)
};
-#endif // DISTRHO_OS_WINDOWS
+#endif // _MSC_VER
// -----------------------------------------------------------------------
// Helper class to lock&unlock a mutex during a function scope.