mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 04:02:30 +01:00
- attempt to get mac build further
This commit is contained in:
parent
66bc98c106
commit
5d545f6588
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user