From f22d3d6098126bc03ddb90355915a605bf7f1b3e Mon Sep 17 00:00:00 2001 From: tol Date: Sun, 25 Nov 2007 20:33:11 +0000 Subject: [PATCH] Avoid compiling on Mac OS 10.5 --- nnpfs/bsd/nnpfs_common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nnpfs/bsd/nnpfs_common.c b/nnpfs/bsd/nnpfs_common.c index b3531a255..9dcd14d09 100644 --- a/nnpfs/bsd/nnpfs_common.c +++ b/nnpfs/bsd/nnpfs_common.c @@ -37,6 +37,8 @@ RCSID("$Id$"); +#ifndef MAC_OS_X_VERSION_10_5 + #ifndef HAVE_KERNEL_STRLCPY size_t @@ -67,3 +69,4 @@ memcpy (void *s1, const void *s2, size_t n) } #endif +#endif /* !MAC_OS_X_VERSION_10_5 */ -- 2.11.4.GIT