aboutsummaryrefslogtreecommitdiffstats
path: root/main/exiv2/fix_libc_definitions.patch
blob: 1a58b37c36067d4e0e9cf1389dd9cd9363525e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/futils.cpp
+++ b/src/futils.cpp
@@ -333,7 +333,7 @@
 #ifdef EXV_HAVE_STRERROR_R
         const size_t n = 1024;
 // _GNU_SOURCE: See Debian bug #485135
-# if defined EXV_STRERROR_R_CHAR_P && defined _GNU_SOURCE
+# if defined EXV_STRERROR_R_CHAR_P && defined _GNU_SOURCE && defined GLIBC
         char *buf = 0;
         char buf2[n];
         std::memset(buf2, 0x0, n);