summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2020-01-02 02:54:40 +0100
committerMat <mail@mathias.is>2020-01-02 02:54:40 +0100
commitbf10b566383e67b7a26d1dc80bb3bc613168c1b5 (patch)
tree9c8734d5ddd62f20894844361a188a80d5f25ff4 /src/OSSupport
parentSkip release builds outside master (#4447) (diff)
downloadcuberite-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 'src/OSSupport')
-rw-r--r--src/OSSupport/Errors.cpp2
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)