--- libelwix/src/elwix.c 2017/01/09 12:53:18 1.9 +++ libelwix/src/elwix.c 2023/07/27 21:48:54 1.10.6.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: elwix.c,v 1.9 2017/01/09 12:53:18 misho Exp $ +* $Id: elwix.c,v 1.10.6.1 2023/07/27 21:48:54 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2016 +Copyright 2004 - 2022 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -209,7 +209,7 @@ elwix_byteOrder() return *(char*) &x; } -#ifndef strlcpy +#ifndef HAVE_STRLCPY /* * Copy src to string dst of size siz. At most siz-1 characters * will be copied. Always NUL terminates (unless siz == 0). @@ -239,7 +239,7 @@ strlcpy(char *dst, const char *src, size_t siz) } #endif -#ifndef strlcat +#ifndef HAVE_STRLCAT /* * Appends src to string dst of size siz (unlike strncat, siz is the * full size of dst, not space left). At most siz-1 characters