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

From: Date: Wed, 13 Feb 2008 16:22:01 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_operators.h php-src configure.in
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6391@lists.php.net to get a copy of this message
dmitry Wed Feb 13 16:22:01 2008 UTC Modified files: (Branch: PHP_5_3) /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.579.2.52.2.77.2.8&r2=1.579.2.52.2.77.2.9&diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.579.2.52.2.77.2.8 php-src/configure.in:1.579.2.52.2.77.2.9 --- php-src/configure.in:1.579.2.52.2.77.2.8 Wed Jan 30 09:41:11 2008 +++ php-src/configure.in Wed Feb 13 16:22:01 2008 @@ -1,4 +1,4 @@ -## $Id: configure.in,v 1.579.2.52.2.77.2.8 2008/01/30 09:41:11 dmitry Exp $ -*- autoconf -*- +## $Id: configure.in,v 1.579.2.52.2.77.2.9 2008/02/13 16:22:01 dmitry Exp $ -*- autoconf -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -515,6 +515,7 @@ lrand48 \ memcpy \ memmove \ +memrchr \ mkstemp \ mmap \ nl_langinfo \ http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.h?r1=1.94.2.4.2.10.2.3&r2=1.94.2.4.2.10.2.4&diff_format=u Index: ZendEngine2/zend_operators.h diff -u ZendEngine2/zend_operators.h:1.94.2.4.2.10.2.3 ZendEngine2/zend_operators.h:1.94.2.4.2.10.2.4 --- ZendEngine2/zend_operators.h:1.94.2.4.2.10.2.3 Mon Dec 31 07:17:04 2007 +++ ZendEngine2/zend_operators.h Wed Feb 13 16:22:01 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.h,v 1.94.2.4.2.10.2.3 2007/12/31 07:17:04 sebastian Exp $ */ +/* $Id: zend_operators.h,v 1.94.2.4.2.10.2.4 2008/02/13 16:22:01 dmitry Exp $ */ #ifndef ZEND_OPERATORS_H #define ZEND_OPERATORS_H @@ -25,6 +25,7 @@ #include <errno.h> #include <math.h> #include <assert.h> +#include <string.h> #ifdef HAVE_IEEEFP_H #include <ieeefp.h> @@ -239,6 +240,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; @@ -255,6 +259,7 @@ return NULL; } +#endif BEGIN_EXTERN_C() ZEND_API int increment_function(zval *op1);

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