summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/php.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 66ca21121b..e199941915 100644
--- a/main/php.h
+++ b/main/php.h
@@ -123,11 +123,13 @@
#ifndef HAVE_STRLCPY
PHPAPI size_t php_strlcpy(char *dst, const char *src, size_t siz);
+#undef strlcpy
#define strlcpy php_strlcpy
#endif
#ifndef HAVE_STRLCAT
PHPAPI size_t php_strlcat(char *dst, const char *src, size_t siz);
+#undef strlcat
#define strlcat php_strlcat
#endif