use extra flag to turn on php implementations

This commit is contained in:
Anatol Belski 2017-03-19 23:19:31 +01:00
parent 42821dd1c9
commit 65afcf81a0
3 changed files with 4 additions and 2 deletions

View file

@ -182,6 +182,7 @@ END_EXTERN_C()
#undef strlcpy
#define strlcpy php_strlcpy
#define HAVE_STRLCPY 1
#define USE_STRLCPY_PHP_IMPL 1
#endif
#ifndef HAVE_STRLCAT
@ -191,6 +192,7 @@ END_EXTERN_C()
#undef strlcat
#define strlcat php_strlcat
#define HAVE_STRLCAT 1
#define USE_STRLCAT_PHP_IMPL 1
#endif
#ifndef HAVE_EXPLICIT_BZERO