From: Vadim Zeitlin Date: Sat, 21 Feb 2009 20:37:30 +0000 (+0000) Subject: restore changes of r58979 accidentally overwritten by r59023 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9d04caf8b54d6ecec207c5ef45ecfda8422c0bec restore changes of r58979 accidentally overwritten by r59023 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 3ee1abd722..76e6163d22 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -148,7 +148,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress) typedef char wxGetservBuf[1024]; #endif -#ifdef wxHAS_MT_SAFE_GETBY_FUNCS +#ifdef wxHAS_MT_SAFE_GETBY_FUNCS || !wxUSE_THREADS #define wxLOCK_GETBY_MUTEX(name) #else // may need mutexes to protect getxxxbyxxx() calls #if defined(HAVE_GETHOSTBYNAME) || \