summaryrefslogtreecommitdiff
path: root/utils/config.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-09-20 13:42:47 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-09-20 13:42:47 +0100
commita90f5d1c8ba9c8d5d4542f1e176a8183130613d7 (patch)
treedc13d31c90878c271d654239d79c9fc4cd0aff33 /utils/config.h
parent1b2225ea076e32412cdde273ea59510e571d84c2 (diff)
downloadnetsurf-a90f5d1c8ba9c8d5d4542f1e176a8183130613d7.tar.gz
netsurf-a90f5d1c8ba9c8d5d4542f1e176a8183130613d7.tar.bz2
Stop the Amiga build complaining about redefined strndup
Diffstat (limited to 'utils/config.h')
-rw-r--r--utils/config.h2
1 files changed, 1 insertions, 1 deletions
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