- Fixed compiler warning (redefinition of offsetof)

This commit is contained in:
Felipe Pena 2011-06-18 18:11:27 +00:00
parent 8f76adb750
commit 6ef38daf0e

View file

@ -451,8 +451,10 @@ 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)
{