Commit d6617e1e authored by Amine Khaldi's avatar Amine Khaldi Committed by Alexandre Julliard

include: Define WINE_RB_ENTRY_VALUE using the standard offsetof.

parent 649c982e
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment