#1273 Thanks to A Wilcox for reporting this and providing the patch.

This commit is contained in:
Robin Mills 2017-01-21 11:53:53 +00:00
parent f3fe69ea18
commit 5392ada8f4

View File

@ -150,11 +150,9 @@ typedef int pid_t;
///// Start of platform marcos /////////
// Linux GCC 4.8 appears to be confused about strerror_r
#ifndef EXV_STRERROR_R_CHAR_P
#ifdef __gnu_linux__
#if !defined(EXV_STRERROR_R_CHAR_P) && defined( __gnu_linux__) && defined(__GLIBC__)
#define EXV_STRERROR_R_CHAR_P
#endif
#endif
#if defined(__MINGW32__) || defined(__MINGW64__)
# ifndef __MING__