diff options
author | Tor Andersson <tor@ghostscript.com> | 2005-01-11 07:19:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2005-01-11 07:19:08 +0100 |
commit | 4a6def1aebcb61599f9d975e92079aad5bb423c6 (patch) | |
tree | 65d7ae5520822cc10b79ef5d421672f5b7d6f435 /util/strlcpy.c | |
parent | 15db9438f7a852643bb2b5e81e67de4eb805b173 (diff) | |
download | mupdf-4a6def1aebcb61599f9d975e92079aad5bb423c6.tar.xz |
rename apps directory and reorganize macpdf.app
Diffstat (limited to 'util/strlcpy.c')
-rw-r--r-- | util/strlcpy.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <string.h> 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 + |