[INCLUDES/WINE][DBGHELP]

Remove the rbtree.h difference with Wine Staging 1.9.23. CORE-12409


svn path=/trunk/; revision=73367
This commit is contained in:
Sylvain Petreolle 2016-11-23 21:33:54 +00:00
parent f445cac180
commit c253b1d7bc
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1,2 @@
#include <stddef.h>
#include "../../reactos/wine/rbtree.h"

View file

@ -26,10 +26,10 @@
#ifdef __GNUC__
# define WINE_RB_ENTRY_VALUE(element, type, field) ({ \
const typeof(((type *)0)->field) *__ptr = (element); \
(type *)((char *)__ptr - FIELD_OFFSET(type, field)); })
(type *)((char *)__ptr - offsetof(type, field)); })
#else
# define WINE_RB_ENTRY_VALUE(element, type, field) \
((type *)((char *)(element) - FIELD_OFFSET(type, field)))
((type *)((char *)(element) - offsetof(type, field)))
#endif
struct wine_rb_entry