diff options
author | Alexander Harkness <me@bearbin.net> | 2020-01-02 02:54:40 +0100 |
---|---|---|
committer | Mat <mail@mathias.is> | 2020-01-02 02:54:40 +0100 |
commit | bf10b566383e67b7a26d1dc80bb3bc613168c1b5 (patch) | |
tree | 9c8734d5ddd62f20894844361a188a80d5f25ff4 /src | |
parent | Skip release builds outside master (#4447) (diff) | |
download | cuberite-bf10b566383e67b7a26d1dc80bb3bc613168c1b5.tar cuberite-bf10b566383e67b7a26d1dc80bb3bc613168c1b5.tar.gz cuberite-bf10b566383e67b7a26d1dc80bb3bc613168c1b5.tar.bz2 cuberite-bf10b566383e67b7a26d1dc80bb3bc613168c1b5.tar.lz cuberite-bf10b566383e67b7a26d1dc80bb3bc613168c1b5.tar.xz cuberite-bf10b566383e67b7a26d1dc80bb3bc613168c1b5.tar.zst cuberite-bf10b566383e67b7a26d1dc80bb3bc613168c1b5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/Errors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/Errors.cpp b/src/OSSupport/Errors.cpp index a6a66c73c..df94d34da 100644 --- a/src/OSSupport/Errors.cpp +++ b/src/OSSupport/Errors.cpp @@ -22,7 +22,7 @@ AString GetOSErrorString( int a_ErrNo) // According to https://linux.die.net/man/3/strerror_r there are two versions of strerror_r(): - #if defined(__GLIBC__) && defined( _GNU_SOURCE) && !defined(ANDROID) // GNU version of strerror_r() + #if defined(__GLIBC__) && defined( _GNU_SOURCE) // GNU version of strerror_r() char * res = strerror_r( errno, buffer, ARRAYCOUNT(buffer)); if (res != nullptr) |