mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-10 07:44:14 +01:00
Fixed a few improper macro usages
Added compiler checks for some improper macro usage and fixed the problems pointed by gcc. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
0faff93cf7
commit
5770e53c50
@@ -242,7 +242,7 @@ char *wstrappend(char *dst, const char *src)
|
||||
}
|
||||
|
||||
|
||||
#if HAVE_STRLCAT
|
||||
#ifdef HAVE_STRLCAT
|
||||
size_t
|
||||
wstrlcat(char *dst, const char *src, size_t siz)
|
||||
{
|
||||
@@ -303,7 +303,7 @@ wstrlcat(char *dst, const char *src, size_t siz)
|
||||
}
|
||||
#endif /* HAVE_STRLCAT */
|
||||
|
||||
#if HAVE_STRLCPY
|
||||
#ifdef HAVE_STRLCPY
|
||||
size_t
|
||||
wstrlcpy(char *dst, const char *src, size_t siz)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user