diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-03-25 18:15:05 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-03-25 18:15:05 +0100 |
commit | eb3cc729d4e367c54a47369f712831908f8da22c (patch) | |
tree | da9c4465d05d8ca734eaa5aa3ee71d7fb5ec4cd1 /src/OSSupport | |
parent | Added one more missing newline. (diff) | |
download | cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.gz cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.bz2 cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.lz cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.xz cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.zst cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.zip |
Diffstat (limited to 'src/OSSupport')
-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 2e05f1df1..6072b6ac6 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 ( _GNU_SOURCE ) && !defined(ANDROID_NDK) // GNU version of strerror_r() + #if !defined(__APPLE__) && ( _GNU_SOURCE ) && !defined(ANDROID_NDK) // GNU version of strerror_r() char * res = strerror_r( errno, buffer, ARRAYCOUNT(buffer) ); if( res != NULL ) |