mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 06:05:08 +08:00
fixed compile error on 10.6 and 10.5
This commit is contained in:
@@ -2114,6 +2114,7 @@ COSXScreen::getDraggingFilename()
|
||||
void
|
||||
COSXScreen::waitForCarbonLoop() const
|
||||
{
|
||||
#if defined(MAC_OS_X_VERSION_10_7)
|
||||
double timeout = ARCH->time() + 5;
|
||||
m_carbonLoopReady->lock();
|
||||
|
||||
@@ -2124,6 +2125,7 @@ COSXScreen::waitForCarbonLoop() const
|
||||
}
|
||||
|
||||
m_carbonLoopReady->unlock();
|
||||
#endif
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
Reference in New Issue
Block a user