summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-06-27 07:43:42 +0000
committerSascha Schumann <sas@php.net>2003-06-27 07:43:42 +0000
commit9979003eebf28200c29b63a8001cc670375e3a42 (patch)
treed4cbb163ec211185e4cd3a050e1bd442bcdf366d
parentdc324648fe162a2cccc63b30169de85b1b5e9f7b (diff)
downloadphp-git-9979003eebf28200c29b63a8001cc670375e3a42.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 f5901cd9ab..aa837ea8ba 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