From eb28188661262eef8aad4b530a3f16532aceffd4 Mon Sep 17 00:00:00 2001 From: Adrien Destugues - PulkoMandy Date: Thu, 15 Nov 2012 22:34:42 +0100 Subject: Update the BeOS/Haiku port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Toolbar use HVIF icons on Haiku * Download window * Some tweaks to the event loop to let network traffic happen Signed-off-by: François Revol --- utils/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/config.h') 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 -- cgit v1.2.3