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/strlcat.c | |
parent | 15db9438f7a852643bb2b5e81e67de4eb805b173 (diff) | |
download | mupdf-4a6def1aebcb61599f9d975e92079aad5bb423c6.tar.xz |
rename apps directory and reorganize macpdf.app
Diffstat (limited to 'util/strlcat.c')
-rw-r--r-- | util/strlcat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/strlcat.c b/util/strlcat.c index 5f260abb..46edd434 100644 --- a/util/strlcat.c +++ b/util/strlcat.c @@ -4,6 +4,8 @@ * Returns strlen(src); if retval >= siz, truncation occurred. */ +#ifdef NEED_STRLCAT + #include <string.h> int strlcat(char *dst, const char *src, int siz) @@ -32,3 +34,6 @@ int strlcat(char *dst, const char *src, int siz) return dlen + (s - src); /* count does not include NUL */ } + +#endif + |