conflict between Wine and Solaris list.h fixed by AlekZ's workaround (Bug 11463)

Petr Sumbera petr.sumbera at sun.com
Thu Apr 10 08:09:55 CDT 2008


---
 server/fd.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/server/fd.c b/server/fd.c
index 41e404c..0010bab 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -71,6 +71,18 @@
 #include <sys/types.h>
 #include <unistd.h>
 
+/*
+ struct list is defined at sys/list_impl.h on solaris
+ this patches work around it.
+*/
+#define list WINELIST
+#define list_remove WINELIST_REMOVE
+#define list_next WINELIST_NEXT
+#define list_prev WINELIST_PREV
+#define list_head WINELIST_HEAD
+#define list_tail WINELIST_TAIL
+#define list_move_tail WINELIST_MOVE_TAIL
+
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
 #include "object.h"
-- 
1.5.4.5


--Boundary_(ID_2HDSTDwje/XoQU0y+dJBkQ)--



More information about the wine-patches mailing list