summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-11-26 11:34:12 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-11-26 11:34:12 +0000
commit840284b24d1a03c14592dd907894b136a37c495c (patch)
treedc8b781ea18d2d5d082ed02b1ddef6421ac7326b /utils
parent7915708b583699f16412d5eeab6a42602319e720 (diff)
parent2836c1775ab1f3bd4257f7ab43f21366b60a2206 (diff)
downloadnetsurf-840284b24d1a03c14592dd907894b136a37c495c.tar.gz
netsurf-840284b24d1a03c14592dd907894b136a37c495c.tar.bz2
Merge remote-tracking branch 'origin/mmu_man/beos-fixes'
Diffstat (limited to 'utils')
-rw-r--r--utils/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/config.h b/utils/config.h
index bd2e3035e..1c1eef6c4 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -24,14 +24,14 @@
/* Try to detect which features the target OS supports */
-#if (defined(_GNU_SOURCE) && !defined(__APPLE__))
+#if (defined(_GNU_SOURCE) && !defined(__APPLE__) || defined(__HAIKU__))
#define HAVE_STRNDUP
#else
#undef HAVE_STRNDUP
char *strndup(const char *s, size_t n);
#endif
-#if (defined(_GNU_SOURCE) || defined(__APPLE__))
+#if (defined(_GNU_SOURCE) || defined(__APPLE__) || defined(__HAIKU__))
#define HAVE_STRCASESTR
#else
#undef HAVE_STRCASESTR