@@ -99,13 +99,6 @@ struct name { \
#define SLIST_HEAD_INITIALIZER(head) \
{ NULL }
-
-/*changes by Stasik0 to avoid conflicts with winnt.h*/
-#ifdef SLIST_ENTRY
-#undef SLIST_ENTRY
-#endif
-/**/
#define SLIST_ENTRY(type) \
struct { \
struct type *sle_next; /* next element */ \
@@ -12,6 +12,9 @@
#ifdef _WIN32
# include <malloc.h>
# include "../deps/queue.h"
+# ifdef SLIST_ENTRY
+# undef SLIST_ENTRY // avoid a conflik in winnt.h
+# endif
#else
# include <alloca.h>
# include <sys/queue.h>