mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 15:34:13 +00:00
[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:
parent
f445cac180
commit
c253b1d7bc
|
@ -1 +1,2 @@
|
|||
#include <stddef.h>
|
||||
#include "../../reactos/wine/rbtree.h"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue