From 4a6def1aebcb61599f9d975e92079aad5bb423c6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 11 Jan 2005 07:19:08 +0100 Subject: rename apps directory and reorganize macpdf.app --- util/strlcpy.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/strlcpy.c') diff --git a/util/strlcpy.c b/util/strlcpy.c index 73416ae1..72e45d6b 100644 --- a/util/strlcpy.c +++ b/util/strlcpy.c @@ -3,6 +3,8 @@ * Returns strlen(src); if retval >= siz, truncation occurred. */ +#ifdef NEED_STRLCPY + #include int strlcpy(char *dst, const char *src, int siz) @@ -30,3 +32,5 @@ int strlcpy(char *dst, const char *src, int siz) return(s - src - 1); /* count does not include NUL */ } +#endif + -- cgit v1.2.3