Austin English : include: fix a compiler warning on GNU/FreeBSD.
Alexandre Julliard
julliard at winehq.org
Mon Oct 12 11:19:46 CDT 2009
Module: wine
Branch: master
Commit: cc34e753852d7f801fd4f42358fe4270bb869deb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc34e753852d7f801fd4f42358fe4270bb869deb
Author: Austin English <austinenglish at gmail.com>
Date: Sun Oct 11 02:21:52 2009 -0500
include: fix a compiler warning on GNU/FreeBSD.
---
include/wine/list.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/wine/list.h b/include/wine/list.h
index b610e5e..da3ce91 100644
--- a/include/wine/list.h
+++ b/include/wine/list.h
@@ -221,9 +221,11 @@ static inline void list_move_head( struct list *dst, struct list *src )
(cursor2) = LIST_ENTRY((cursor)->field.prev, type, field))
/* macros for statically initialized lists */
+#undef LIST_INIT
#define LIST_INIT(list) { &(list), &(list) }
/* get pointer to object containing list element */
+#undef LIST_ENTRY
#define LIST_ENTRY(elem, type, field) \
((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))
More information about the wine-cvs
mailing list