From b6dc3b517b74ef2baa0e707f837a65b4ff5a6f2e Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto Date: Mon, 26 Jul 2010 17:44:51 +0000 Subject: bitcoind now compiles without wxWidgets or wxBase --- net.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net.cpp') diff --git a/net.cpp b/net.cpp index 53a4d9e3f0..25f5c24387 100644 --- a/net.cpp +++ b/net.cpp @@ -64,7 +64,7 @@ bool ConnectSocket(const CAddress& addrConnect, SOCKET& hSocketRet) SOCKET hSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (hSocket == INVALID_SOCKET) return false; -#if defined(__BSD__) || defined(__WXOSX__) +#if defined(__BSD__) || defined(__WXMAC_OSX__) int set = 1; setsockopt(hSocket, SOL_SOCKET, SO_NOSIGPIPE, (void*)&set, sizeof(int)); #endif @@ -1163,7 +1163,7 @@ bool BindListenPort(string& strError) return false; } -#if defined(__BSD__) || defined(__WXOSX__) +#if defined(__BSD__) || defined(__WXMAC_OSX__) // Different way of disabling SIGPIPE on BSD setsockopt(hListenSocket, SOL_SOCKET, SO_NOSIGPIPE, (void*)&nOne, sizeof(int)); #endif -- cgit v1.2.3