com php-src: Only used in ZTS: ext/opcache/ZendAccelerator.c

From: Date: Sat, 21 Mar 2015 05:58:29 +0000
Subject: com php-src: Only used in ZTS: ext/opcache/ZendAccelerator.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85742@lists.php.net to get a copy of this message
Commit: 775a257cef53a0e22390c49e038b412c687c475c Author: Xinchen Hui <laruence@php.net> Sat, 21 Mar 2015 13:58:29 +0800 Parents: 595e46fdebbdce45a6a2662ea98e62639473223d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=775a257cef53a0e22390c49e038b412c687c475c Log: Only used in ZTS Changed paths: M ext/opcache/ZendAccelerator.c Diff: diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index dc92bf7..7210101 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -267,10 +267,10 @@ static void accel_interned_strings_save_state(void) } #endif +#ifndef ZTS static zend_string *accel_find_interned_string(zend_string *str) { /* for now interned strings are supported only for non-ZTS build */ -#ifndef ZTS zend_ulong h; uint nIndex; uint idx; @@ -296,10 +296,10 @@ static zend_string *accel_find_interned_string(zend_string *str) } idx = Z_NEXT(p->val); } -#endif return NULL; } +#endif zend_string *accel_new_interned_string(zend_string *str) {

« previous php.cvs (#85742) next »