mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Rename SLIST_ENTRY to TOR_SLIST_ENTRY to fix windows compilation
Apparently winnt.h defines a different SLIST_ENTRY of its own. Bug not in any version of Tor.
This commit is contained in:
parent
9327a9f607
commit
ae99fc1ccb
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,9 @@ struct name { \
|
|||
#define SLIST_HEAD_INITIALIZER(head) \
|
||||
{ NULL }
|
||||
|
||||
#define SLIST_ENTRY(type) \
|
||||
/* XXXX This macro name conflicts with a typedef in winnt.h, so Tor
|
||||
* has to redefine it. */
|
||||
#define TOR_SLIST_ENTRY(type) \
|
||||
struct { \
|
||||
struct type *sle_next; /* next element */ \
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue