Browse Source

Merge branch '0.2'

Julius Pfrommer 7 years ago
parent
commit
05f05f5f28
1 changed files with 6 additions and 1 deletions
  1. 6 1
      deps/queue.h

+ 6 - 1
deps/queue.h

@@ -98,7 +98,12 @@ struct name {								\
  
 #define	SLIST_HEAD_INITIALIZER(head)					\
 	{ NULL }
- 
+
+/* Fix redefinition of SLIST_ENTRY on mingw winnt.h */
+# ifdef SLIST_ENTRY
+#  undef SLIST_ENTRY
+# endif
+
 #define SLIST_ENTRY(type)						\
 struct {								\
 	struct type *sle_next;	/* next element */			\