diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-31 21:07:48 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-31 21:07:48 +0200 |
commit | d975e5bf046e6d30903c1e17b2b7b92468f0e25d (patch) | |
tree | 13bf73d5cd953209fcca25166aadbf3bed7a58a6 /source | |
parent | Fixed a crash when fluid would try to go below the world (y = -1) (diff) | |
download | cuberite-d975e5bf046e6d30903c1e17b2b7b92468f0e25d.tar cuberite-d975e5bf046e6d30903c1e17b2b7b92468f0e25d.tar.gz cuberite-d975e5bf046e6d30903c1e17b2b7b92468f0e25d.tar.bz2 cuberite-d975e5bf046e6d30903c1e17b2b7b92468f0e25d.tar.lz cuberite-d975e5bf046e6d30903c1e17b2b7b92468f0e25d.tar.xz cuberite-d975e5bf046e6d30903c1e17b2b7b92468f0e25d.tar.zst cuberite-d975e5bf046e6d30903c1e17b2b7b92468f0e25d.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cSocket.cpp b/source/cSocket.cpp index 880169483..e42033578 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 && !__APPLE__) || __CYGWIN32__ ) // XSI version of strerror_r():
+ #if ((((_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600)) && ! _GNU_SOURCE && !__APPLE__) || __CYGWIN32__ || __APPLE__ ) // XSI version of strerror_r():
int res = strerror_r( errno, buffer, ARRAYCOUNT(buffer) );
if( res == 0 )
|