summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;