Fix compilation on Windows. Probably.
git-svn-id: svn://localhost/ardour2/branches/3.0@12246 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eaf548f49f
commit
4302649bd9
@ -148,7 +148,7 @@ Semaphore::wait()
|
|||||||
inline bool
|
inline bool
|
||||||
Semaphore::try_wait()
|
Semaphore::try_wait()
|
||||||
{
|
{
|
||||||
return WaitForSingleObject(sem->sem, 0) == WAIT_OBJECT_0;
|
return WaitForSingleObject(_sem, 0) == WAIT_OBJECT_0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* !defined(__APPLE__) && !defined(_WIN32) */
|
#else /* !defined(__APPLE__) && !defined(_WIN32) */
|
||||||
|
Loading…
Reference in New Issue
Block a user