Project

General

Profile

Bug #1273 » exiv2-0.25-dont-overdefine-strerror_r.patch

A. Wilcox, 21 Jan 2017 00:13

View differences:

exiv2-0.25/include/exiv2/config.h 2017-01-21 00:10:00.955322655 +0000
11 11
#endif
12 12

  
13 13
// Linux GCC 4.8 appears to be confused about strerror_r
14
#ifndef EXV_STRERROR_R_CHAR_P
15
#ifdef  __gnu_linux__
14
#if !defined(EXV_STRERROR_R_CHAR_P) &&  defined( __gnu_linux__) && defined(__GLIBC__)
16 15
#define EXV_STRERROR_R_CHAR_P
17 16
#endif
18
#endif
19 17

  
20 18
#if defined(__MINGW32__) || defined(__MINGW64__)
21 19
#ifndef __MING__
(2-2/2)