summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-25 08:07:18 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-25 08:07:18 +0200
commit150024265e10cc5f5769d5638c10078ec493f210 (patch)
tree72dbacde2f6f5a25db9d3f3c9800280ba15ad130 /src/OSSupport
parentMerge pull request #2114 from cengizIO/master (diff)
parentSupport building on FreeBSD (diff)
downloadcuberite-150024265e10cc5f5769d5638c10078ec493f210.tar
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.gz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.bz2
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.lz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.xz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.zst
cuberite-150024265e10cc5f5769d5638c10078ec493f210.zip
Diffstat (limited to '')
-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 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)