felipe Sun, 03 Jul 2011 01:29:23 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312833
Log:
- Removed accidental offsetof definition
Changed paths:
U php/php-src/branches/PHP_5_4/Zend/zend_operators.h
U php/php-src/trunk/Zend/zend_operators.h
Modified: php/php-src/branches/PHP_5_4/Zend/zend_operators.h
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/zend_operators.h 2011-07-03 01:22:07 UTC
(rev 312832)
+++ php/php-src/branches/PHP_5_4/Zend/zend_operators.h 2011-07-03 01:29:23 UTC
(rev 312833)
@@ -451,11 +451,6 @@
#define zend_update_current_locale()
#endif
-#ifndef offsetof
-#define offsetof(t,f) \
- ((int)(&((t*)0)->f))
-#endif
-
static zend_always_inline int fast_increment_function(zval *op1)
{
if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) {
Modified: php/php-src/trunk/Zend/zend_operators.h
===================================================================
--- php/php-src/trunk/Zend/zend_operators.h 2011-07-03 01:22:07 UTC (rev
312832)
+++ php/php-src/trunk/Zend/zend_operators.h 2011-07-03 01:29:23 UTC (rev
312833)
@@ -451,11 +451,6 @@
#define zend_update_current_locale()
#endif
-#ifndef offsetof
-#define offsetof(t,f) \
- ((int)(&((t*)0)->f))
-#endif
-
static zend_always_inline int fast_increment_function(zval *op1)
{
if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php