Author: spetreolle
Date: Wed Nov 23 21:33:54 2016
New Revision: 73367
URL:
http://svn.reactos.org/svn/reactos?rev=73367&view=rev
Log:
[INCLUDES/WINE][DBGHELP]
Remove the rbtree.h difference with Wine Staging 1.9.23. CORE-12409
Modified:
trunk/reactos/sdk/include/host/wine/rbtree.h
trunk/reactos/sdk/include/reactos/wine/rbtree.h
Modified: trunk/reactos/sdk/include/host/wine/rbtree.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/host/wine/rbtr…
==============================================================================
--- trunk/reactos/sdk/include/host/wine/rbtree.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/host/wine/rbtree.h [iso-8859-1] Wed Nov 23 21:33:54 2016
@@ -1 +1,2 @@
+#include <stddef.h>
#include "../../reactos/wine/rbtree.h"
Modified: trunk/reactos/sdk/include/reactos/wine/rbtree.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/wine/r…
==============================================================================
--- trunk/reactos/sdk/include/reactos/wine/rbtree.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/wine/rbtree.h [iso-8859-1] Wed Nov 23 21:33:54 2016
@@ -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