mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
undefine macros before defining them
This commit is contained in:
parent
dc324648fe
commit
9979003eeb
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue