Issue: 940. Compiler warnings. Really should fix the mess concerning str_error_r in autotools and CMake in the config directory.

This commit is contained in:
Robin Mills 2013-12-28 06:11:10 +00:00
parent cea66bdd78
commit 4adddce153

View File

@ -95,9 +95,11 @@ namespace Exiv2 {
#if ( _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 ) && ! _GNU_SOURCE
// XSI-compliant version of strerror_r() is provided
#else
#ifdef __clang6__
#define STRERROR_R_CHAR_P
#endif
#endif
#endif
#endif
std::string strError()