From 2464dbd5f3dda7ab69f9217d802d08af0334ec71 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 15 Oct 2016 14:53:38 +0100 Subject: import explicit_bzero + strlc* functions update since 1999 algorithms have changed and register k/w not necessary anymore. --- main/php.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index 32ab59386f..b9b091d58e 100644 --- a/main/php.h +++ b/main/php.h @@ -136,6 +136,14 @@ END_EXTERN_C() #define strlcat php_strlcat #endif +#ifndef HAVE_STRLCAT +BEGIN_EXTERN_C() +PHPAPI void php_explicit_bzero(void *dst, size_t siz); +END_EXTERN_C() +#undef explicit_bzero +#define explicit_bzero php_explicit_bzero +#endif + #ifndef HAVE_STRTOK_R BEGIN_EXTERN_C() char *strtok_r(char *s, const char *delim, char **last); -- cgit v1.2.1