Ensure we #undef strlcat and strlcpy

These may be implemented as macros so #undef them and use our own
implementation.
This commit is contained in:
sin 2014-01-30 21:02:45 +00:00
parent f4609e2836
commit 4ba6c37839

2
util.h
View File

@ -20,6 +20,8 @@ long estrtol(const char *, int);
void fnck(const char *, const char *, int (*)(const char *, const char *)); void fnck(const char *, const char *, int (*)(const char *, const char *));
void putword(const char *); void putword(const char *);
void recurse(const char *, void (*)(const char *)); void recurse(const char *, void (*)(const char *));
#undef strlcat
size_t strlcat(char *, const char *, size_t); size_t strlcat(char *, const char *, size_t);
#undef strlcpy
size_t strlcpy(char *, const char *, size_t); size_t strlcpy(char *, const char *, size_t);
void weprintf(const char *, ...); void weprintf(const char *, ...);