13
0

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:
David Robillard 2012-05-10 21:53:01 +00:00
parent eaf548f49f
commit 4302649bd9

View File

@ -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) */