summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-06-27 07:43:30 +0000
committerSascha Schumann <sas@php.net>2003-06-27 07:43:30 +0000
commitc01346201e694b2f7d2dec5c1f9c95e55cf5f463 (patch)
treedfdf334ebf059acc29ef297a6e81fdce171b6d23
parentecad25672676ece6d6a94ce188912bb782582199 (diff)
downloadphp-git-c01346201e694b2f7d2dec5c1f9c95e55cf5f463.tar.gz
undefine macros before defining them
-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