gcc is too aggressively hiding these inlines on wxCriticialSection on osx, expose them for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,6 +67,16 @@
|
||||
#define THR_ID(thr) ((long)(thr)->GetId())
|
||||
#endif
|
||||
|
||||
#ifdef __WXMAC__
|
||||
|
||||
// implement wxCriticalSection using mutexes
|
||||
wxCriticalSection::wxCriticalSection() { }
|
||||
wxCriticalSection::~wxCriticalSection() { }
|
||||
|
||||
void wxCriticalSection::Enter() { (void)m_mutex.Lock(); }
|
||||
void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); }
|
||||
|
||||
#endif
|
||||
// ----------------------------------------------------------------------------
|
||||
// constants
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user