[tor/master] Add an SLIST_ENTRY definition back on non-win32

4 Nov
2012
4 Nov
'12
12:18 a.m.
commit e5ca5040a56b74f3d0de82d74946f0d9c7d44cc3 Author: Nick Mathewson <nickm@torproject.org> Date: Fri Nov 2 19:38:21 2012 -0400 Add an SLIST_ENTRY definition back on non-win32 Otherwise we break openbsd headers. Fixes bug 7293; bug not on any released Tor. --- src/ext/tor_queue.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/ext/tor_queue.h b/src/ext/tor_queue.h index 98d6b98..595e4a3 100644 --- a/src/ext/tor_queue.h +++ b/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.
4584
Age (days ago)
4584
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org