mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Fixed compiler warning (redefinition of offsetof)
This commit is contained in:
parent
8f76adb750
commit
6ef38daf0e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue