From a9bde38b55cc390bd7d80811ba48647e16eb4cc6 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Mar 2005 20:42:50 +0000 Subject: Fixed inspstring strlcpy and strlcat git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@907 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspstring.h | 2 +- src/inspstring.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/inspstring.h b/include/inspstring.h index f13f098dd..54264a3eb 100644 --- a/include/inspstring.h +++ b/include/inspstring.h @@ -3,7 +3,7 @@ #include "inspircd_config.h" -#ifndef HAVE_STRLCPY +#ifndef HAS_STRLCPY size_t strlcpy(char *dst, const char *src, size_t siz); size_t strlcat(char *dst, const char *src, size_t siz); #endif diff --git a/src/inspstring.cpp b/src/inspstring.cpp index 7b9624fcf..c4829ffbb 100644 --- a/src/inspstring.cpp +++ b/src/inspstring.cpp @@ -28,7 +28,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef HAVE_STRLCPY +#ifndef HAS_STRLCPY size_t strlcat(char *dst, const char *src, size_t siz) { char *d = dst; -- cgit v1.2.3