diff options
author | linnemannr <linnemannr@gmail.com> | 2015-05-25 04:07:31 +0200 |
---|---|---|
committer | linnemannr <linnemannr@gmail.com> | 2015-05-25 04:07:31 +0200 |
commit | 5049fd0fbf2fe2e54d86d9d0f704d5daa301f819 (patch) | |
tree | 58686e599ffdb26697fbca7cac3cad5f0bd5d146 /src/OSSupport | |
parent | Merge pull request #2117 from Seadragon91/clang_errors (diff) | |
download | cuberite-5049fd0fbf2fe2e54d86d9d0f704d5daa301f819.tar cuberite-5049fd0fbf2fe2e54d86d9d0f704d5daa301f819.tar.gz cuberite-5049fd0fbf2fe2e54d86d9d0f704d5daa301f819.tar.bz2 cuberite-5049fd0fbf2fe2e54d86d9d0f704d5daa301f819.tar.lz cuberite-5049fd0fbf2fe2e54d86d9d0f704d5daa301f819.tar.xz cuberite-5049fd0fbf2fe2e54d86d9d0f704d5daa301f819.tar.zst cuberite-5049fd0fbf2fe2e54d86d9d0f704d5daa301f819.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 a5361e1a6..407799495 100644 --- a/src/OSSupport/Errors.cpp +++ b/src/OSSupport/Errors.cpp @@ -22,7 +22,7 @@ AString GetOSErrorString( int a_ErrNo) // According to http://linux.die.net/man/3/strerror_r there are two versions of strerror_r(): - #if !defined(__APPLE__) && ( _GNU_SOURCE) && !defined(ANDROID_NDK) // GNU version of strerror_r() + #if !defined(__APPLE__) && defined( _GNU_SOURCE) && !defined(ANDROID_NDK) // GNU version of strerror_r() char * res = strerror_r( errno, buffer, ARRAYCOUNT(buffer)); if (res != nullptr) |