[INCLUDES/WINE] Attempt to please the linux builder.

svn path=/trunk/; revision=73349
This commit is contained in:
Amine Khaldi
2016-11-22 17:42:41 +00:00
parent c4dbe78cac
commit 595348341e
+2 -2
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 - 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