- attempt to get mac build further

This commit is contained in:
Mark Vejvoda 2013-01-10 06:19:07 +00:00
parent 66bc98c106
commit 5d545f6588
1 changed files with 3 additions and 1 deletions

View File

@ -211,8 +211,10 @@ int ftpSend(socket_t s, const void *data, int len)
{
#if defined(__APPLE__) && defined(SO_NOSIGPIPE)
currLen = send(s, data, len, SO_NOSIGPIPE);
#else
#elif defined(MSG_NOSIGNAL)
currLen = send(s, data, len, MSG_NOSIGNAL);
#else
currLen = send(s, data, len, 0);
#endif
if(currLen >= 0)