mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-15 15:45:38 +02:00
fixed compile error on 10.6 and 10.5
This commit is contained in:
parent
22ebb259d0
commit
b876c0daf3
1 changed files with 2 additions and 0 deletions
|
@ -2114,6 +2114,7 @@ COSXScreen::getDraggingFilename()
|
||||||
void
|
void
|
||||||
COSXScreen::waitForCarbonLoop() const
|
COSXScreen::waitForCarbonLoop() const
|
||||||
{
|
{
|
||||||
|
#if defined(MAC_OS_X_VERSION_10_7)
|
||||||
double timeout = ARCH->time() + 5;
|
double timeout = ARCH->time() + 5;
|
||||||
m_carbonLoopReady->lock();
|
m_carbonLoopReady->lock();
|
||||||
|
|
||||||
|
@ -2124,6 +2125,7 @@ COSXScreen::waitForCarbonLoop() const
|
||||||
}
|
}
|
||||||
|
|
||||||
m_carbonLoopReady->unlock();
|
m_carbonLoopReady->unlock();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue