include: Define WINE_RB_ENTRY_VALUE using the standard offsetof.

This commit is contained in:
Amine Khaldi 2012-12-10 23:17:41 +01:00 committed by Alexandre Julliard
parent 649c982e60
commit d6617e1ec5
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
#define __WINE_WINE_RBTREE_H
#define WINE_RB_ENTRY_VALUE(element, type, field) \
((type *)((char *)(element) - FIELD_OFFSET(type, field)))
((type *)((char *)(element) - offsetof(type, field)))
struct wine_rb_entry
{