From 36ecbc6be227102eed47b8a61f8de46e322d70ec Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Sat, 16 Jun 2007 23:30:47 +0000 Subject: Add HAVE_STRNDUP and supporting structure to config.h and make utils.[ch] reflect it. svn path=/trunk/netsurf/; revision=3351 --- utils/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/utils.c') diff --git a/utils/utils.c b/utils/utils.c index 53124a0d1..3ce1e48e6 100644 --- a/utils/utils.c +++ b/utils/utils.c @@ -257,7 +257,7 @@ unsigned int wallclock(void) } -#if defined(__FreeBSD__) || (defined(__SVR4) && defined(__sun)) +#ifndef HAVE_STRNDUP /** * Duplicate up to n characters of a string. -- cgit v1.2.3