diff options
| author | Satoshi Nakamoto <[email protected]> | 2010-07-26 17:44:51 +0000 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2010-07-26 17:44:51 +0000 |
| commit | b6dc3b517b74ef2baa0e707f837a65b4ff5a6f2e (patch) | |
| tree | 757fa9f209b9cb6a42c6b6e6df9e58cad074cd03 /net.cpp | |
| parent | Gavin: BIO_FLAGS_BASE64_NO_NL (diff) | |
| download | discoin-b6dc3b517b74ef2baa0e707f837a65b4ff5a6f2e.tar.xz discoin-b6dc3b517b74ef2baa0e707f837a65b4ff5a6f2e.zip | |
bitcoind now compiles without wxWidgets or wxBase
Diffstat (limited to 'net.cpp')
| -rw-r--r-- | net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |