cvs: ZendEngine2 / zend_operators.h php-src configure.in

From: Date: Wed, 13 Feb 2008 16:22:12 +0000
Subject: cvs: ZendEngine2 / zend_operators.h php-src configure.in
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6392@lists.php.net to get a copy of this message
dmitry Wed Feb 13 16:22:12 2008 UTC Modified files: /php-src configure.in /ZendEngine2 zend_operators.h Log: Use memrchr() instead of zend_memrchr() if available. (Nuno) http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.644&r2=1.645&diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.644 php-src/configure.in:1.645 --- php-src/configure.in:1.644 Wed Jan 30 09:56:21 2008 +++ php-src/configure.in Wed Feb 13 16:22:12 2008 @@ -1,4 +1,4 @@ -## $Id: configure.in,v 1.644 2008/01/30 09:56:21 dmitry Exp $ -*- autoconf -*- +## $Id: configure.in,v 1.645 2008/02/13 16:22:12 dmitry Exp $ -*- autoconf -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -514,6 +514,7 @@ lrand48 \ memcpy \ memmove \ +memrchr \ mkstemp \ mmap \ nl_langinfo \ http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.h?r1=1.125&r2=1.126&diff_format=u Index: ZendEngine2/zend_operators.h diff -u ZendEngine2/zend_operators.h:1.125 ZendEngine2/zend_operators.h:1.126 --- ZendEngine2/zend_operators.h:1.125 Mon Dec 31 07:12:07 2007 +++ ZendEngine2/zend_operators.h Wed Feb 13 16:22:12 2008 @@ -17,13 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.h,v 1.125 2007/12/31 07:12:07 sebastian Exp $ */ +/* $Id: zend_operators.h,v 1.126 2008/02/13 16:22:12 dmitry Exp $ */ #ifndef ZEND_OPERATORS_H #define ZEND_OPERATORS_H #include <errno.h> #include <math.h> +#include <string.h> #ifdef HAVE_IEEEFP_H #include <ieeefp.h> @@ -250,6 +251,9 @@ return NULL; } +#ifdef HAVE_MEMRCHR +# define zend_memrchr(s,c,n) memrchr(s,c,n) +#else static inline void *zend_memrchr(const void *s, int c, size_t n) { register unsigned char *e; @@ -266,6 +270,7 @@ return NULL; } +#endif BEGIN_EXTERN_C() ZEND_API int increment_function(zval *op1);

« previous php.zend-engine.cvs (#6392) next »