mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[INCLUDES/WINE] Attempt to please the linux builder.
svn path=/trunk/; revision=73349
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user