Explorar o código

Add an SLIST_ENTRY definition back on non-win32

Otherwise we break openbsd headers.

Fixes bug 7293; bug not on any released Tor.
Nick Mathewson %!s(int64=13) %!d(string=hai) anos
pai
achega
e5ca5040a5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/ext/tor_queue.h

+ 3 - 0
src/ext/tor_queue.h

@@ -105,6 +105,9 @@ struct name {								\
 struct {								\
 	struct type *sle_next;	/* next element */			\
 }
+#ifndef _WIN32
+#define SLIST_ENTRY(type) TOR_SLIST_ENTRY(type)
+#endif
  
 /*
  * Singly-linked List access methods.