summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/SimpleSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SimpleSocket.cpp b/src/SimpleSocket.cpp
index 2f9f434..713e52b 100755
--- a/src/SimpleSocket.cpp
+++ b/src/SimpleSocket.cpp
@@ -947,7 +947,7 @@ int32 CSimpleSocket::SendFile(int32 nOutFd, int32 nInFd, off_t *pOffset, int32 n
//------------------------------------------------------------------------------
void CSimpleSocket::TranslateSocketError(void)
{
-#ifdef _LINUX
+#if defined(_LINUX) || defined(_DARWIN)
switch (errno)
{
case EXIT_SUCCESS: