Browse Source

Partially revert a previous commit, that is useless and breaks build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 6 years ago
parent
commit
9bc0cd764f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      source/utils/CarlaMutex.hpp

+ 3
- 3
source/utils/CarlaMutex.hpp View File

@@ -143,12 +143,12 @@ public:
/*
* Lock the mutex.
*/
bool lock() const noexcept
void lock() const noexcept
{
#ifdef CARLA_OS_WIN
return (EnterCriticalSection(&fSection) != FALSE);
EnterCriticalSection(&fSection);
#else
return (pthread_mutex_lock(&fMutex) == 0);
pthread_mutex_lock(&fMutex);
#endif
}



Loading…
Cancel
Save