]> granicus.if.org Git - php/commitdiff
- Removed accidental offsetof definition
authorFelipe Pena <felipe@php.net>
Sun, 3 Jul 2011 01:29:23 +0000 (01:29 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 3 Jul 2011 01:29:23 +0000 (01:29 +0000)
Zend/zend_operators.h

index 7f831f93ffbef7a2337120726843752e1f3799df..8e3a37eee75ff179b4411e2637fa3e6e59e582eb 100644 (file)
@@ -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)) {