summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-25 20:42:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-25 20:42:50 +0000
commita9bde38b55cc390bd7d80811ba48647e16eb4cc6 (patch)
treec8e0f81482c0dd57648a9e4a2dabc4eadea1a55c
parent5174091b75a311a824103d8e8a095ce95db63f38 (diff)
Fixed inspstring strlcpy and strlcat
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@907 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/inspstring.h2
-rw-r--r--src/inspstring.cpp2
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;