Browse Source

Allow using Signal class for mingw

Signed-off-by: falkTX <falktx@falktx.com>
pull/409/head
falkTX 2 years ago
parent
commit
22413340a6
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      distrho/extra/Mutex.hpp

+ 2
- 2
distrho/extra/Mutex.hpp View File

@@ -207,7 +207,7 @@ private:
DISTRHO_DECLARE_NON_COPYABLE(RecursiveMutex) DISTRHO_DECLARE_NON_COPYABLE(RecursiveMutex)
}; };


#ifndef DISTRHO_OS_WINDOWS
#ifndef _MSC_VER
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// Signal class // Signal class


@@ -288,7 +288,7 @@ private:
DISTRHO_PREVENT_HEAP_ALLOCATION DISTRHO_PREVENT_HEAP_ALLOCATION
DISTRHO_DECLARE_NON_COPYABLE(Signal) DISTRHO_DECLARE_NON_COPYABLE(Signal)
}; };
#endif // DISTRHO_OS_WINDOWS
#endif // _MSC_VER


// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// Helper class to lock&unlock a mutex during a function scope. // Helper class to lock&unlock a mutex during a function scope.


Loading…
Cancel
Save