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:
Paul Cornett
2009-02-18 04:06:46 +00:00
parent 830b7aa7b2
commit 5079735ca0
2 changed files with 3 additions and 1 deletions

View File

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

View File

@@ -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) || \