summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 12:15:00 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 12:15:00 +0100
commit85db35a3baa67ca7458125aa190d8bed1170ef3f (patch)
tree5a87b0e131bb8656b22368d27e7a1ab9e5c3c6dc
parentFixed logging in cServer (diff)
downloadcuberite-85db35a3baa67ca7458125aa190d8bed1170ef3f.tar
cuberite-85db35a3baa67ca7458125aa190d8bed1170ef3f.tar.gz
cuberite-85db35a3baa67ca7458125aa190d8bed1170ef3f.tar.bz2
cuberite-85db35a3baa67ca7458125aa190d8bed1170ef3f.tar.lz
cuberite-85db35a3baa67ca7458125aa190d8bed1170ef3f.tar.xz
cuberite-85db35a3baa67ca7458125aa190d8bed1170ef3f.tar.zst
cuberite-85db35a3baa67ca7458125aa190d8bed1170ef3f.zip
Diffstat (limited to '')
-rw-r--r--source/cSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cSocket.cpp b/source/cSocket.cpp
index 245342fab..7e45d0b67 100644
--- a/source/cSocket.cpp
+++ b/source/cSocket.cpp
@@ -111,7 +111,7 @@ AString cSocket::GetErrorString( int a_ErrNo )
// According to http://linux.die.net/man/3/strerror_r there are two versions of strerror_r():
- #if (((_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)) && ! _GNU_SOURCE) // XSI version of strerror_r():
+ #if ((((_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)) && ! _GNU_SOURCE) || __CYGWIN32__ ) // XSI version of strerror_r():
int res = strerror_r( errno, buffer, ARRAYCOUNT(buffer) );
if( res == 0 )