Author: akhaldi
Date: Tue Nov 22 17:42:41 2016
New Revision: 73349
URL:
http://svn.reactos.org/svn/reactos?rev=73349&view=rev
Log:
[INCLUDES/WINE] Attempt to please the linux builder.
Modified:
trunk/reactos/sdk/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] Tue Nov 22 17:42:41 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 - offsetof(type, field)); })
+ (type *)((char *)__ptr - FIELD_OFFSET(type, field)); })
#else
# define WINE_RB_ENTRY_VALUE(element, type, field) \
- ((type *)((char *)(element) - offsetof(type, field)))
+ ((type *)((char *)(element) - FIELD_OFFSET(type, field)))
#endif
struct wine_rb_entry