sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 4ba6c378397b541cda0b46b5393ca5a6df7ab627
parent f4609e28368d3e7a90cbfe602566469bd5fe53a4
Author: sin <sin@2f30.org>
Date:   Thu, 30 Jan 2014 21:02:45 +0000

Ensure we #undef strlcat and strlcpy

These may be implemented as macros so #undef them and use our own
implementation.

Diffstat:
Mutil.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/util.h b/util.h @@ -20,6 +20,8 @@ long estrtol(const char *, int); void fnck(const char *, const char *, int (*)(const char *, const char *)); void putword(const char *); void recurse(const char *, void (*)(const char *)); +#undef strlcat size_t strlcat(char *, const char *, size_t); +#undef strlcpy size_t strlcpy(char *, const char *, size_t); void weprintf(const char *, ...);