]> git.saurik.com Git - wxWidgets.git/commitdiff
fix the restore of the fix of r58979
authorPaul Cornett <paulcor@bullseye.com>
Sat, 21 Feb 2009 20:56:39 +0000 (20:56 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 21 Feb 2009 20:56:39 +0000 (20:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckaddr.cpp

index 76e6163d22e95ce14dcd4ad05385fc64a6de98fe..979d06853b08ad7ed9dffce1a539f1a537b458a9 100644 (file)
@@ -148,7 +148,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress)
     typedef char wxGetservBuf[1024];
 #endif
 
-#ifdef wxHAS_MT_SAFE_GETBY_FUNCS || !wxUSE_THREADS
+#if defined(wxHAS_MT_SAFE_GETBY_FUNCS) || !wxUSE_THREADS
     #define wxLOCK_GETBY_MUTEX(name)
 #else // may need mutexes to protect getxxxbyxxx() calls
     #if defined(HAVE_GETHOSTBYNAME) || \