fixed compile error on 10.6 and 10.5

This commit is contained in:
jerry 2014-04-22 16:43:04 +00:00
parent 22ebb259d0
commit b876c0daf3
1 changed files with 2 additions and 0 deletions

View File

@ -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"