build fixes for wxUSE_THREADS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -832,7 +832,9 @@ protected:
|
|||||||
// The same holds for all other wxEvtHandler functions.
|
// The same holds for all other wxEvtHandler functions.
|
||||||
|
|
||||||
using wxEvtHandler::ProcessEvent;
|
using wxEvtHandler::ProcessEvent;
|
||||||
|
#if wxUSE_THREADS
|
||||||
using wxEvtHandler::ProcessThreadEvent;
|
using wxEvtHandler::ProcessThreadEvent;
|
||||||
|
#endif
|
||||||
using wxEvtHandler::SafelyProcessEvent;
|
using wxEvtHandler::SafelyProcessEvent;
|
||||||
using wxEvtHandler::ProcessPendingEvents;
|
using wxEvtHandler::ProcessPendingEvents;
|
||||||
using wxEvtHandler::AddPendingEvent;
|
using wxEvtHandler::AddPendingEvent;
|
||||||
|
@@ -148,7 +148,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress)
|
|||||||
typedef char wxGetservBuf[1024];
|
typedef char wxGetservBuf[1024];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef wxHAS_MT_SAFE_GETBY_FUNCS
|
#if defined(wxHAS_MT_SAFE_GETBY_FUNCS) || !wxUSE_THREADS
|
||||||
#define wxLOCK_GETBY_MUTEX(name)
|
#define wxLOCK_GETBY_MUTEX(name)
|
||||||
#else // may need mutexes to protect getxxxbyxxx() calls
|
#else // may need mutexes to protect getxxxbyxxx() calls
|
||||||
#if defined(HAVE_GETHOSTBYNAME) || \
|
#if defined(HAVE_GETHOSTBYNAME) || \
|
||||||
|
Reference in New Issue
Block a user