From: Felipe Pena Date: Sun, 3 Jul 2011 01:29:23 +0000 (+0000) Subject: - Removed accidental offsetof definition X-Git-Tag: php-5.4.0alpha2~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e6b211935e2bfbd7b80daadb987c8c77f833d51;p=php - Removed accidental offsetof definition --- diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 7f831f93ff..8e3a37eee7 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -451,11 +451,6 @@ ZEND_API void zend_update_current_locale(void); #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)) {