From a90f5d1c8ba9c8d5d4542f1e176a8183130613d7 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 20 Sep 2014 13:42:47 +0100 Subject: [PATCH] Stop the Amiga build complaining about redefined strndup --- utils/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/config.h b/utils/config.h index 21a2e4a5a..8f17b16c2 100644 --- a/utils/config.h +++ b/utils/config.h @@ -24,7 +24,7 @@ /* Try to detect which features the target OS supports */ -#if (defined(_GNU_SOURCE) && !defined(__APPLE__) || defined(__HAIKU__) || (defined(_POSIX_C_SOURCE) && ((_POSIX_C_SOURCE - 0) >= 200809L))) +#if (defined(_GNU_SOURCE) && !defined(__APPLE__) || defined(__amigaos4__) || defined(__HAIKU__) || (defined(_POSIX_C_SOURCE) && ((_POSIX_C_SOURCE - 0) >= 200809L))) #define HAVE_STRNDUP #else #undef HAVE_STRNDUP