Merge pull request #3402 from doughdemon/master
Compile without <sys/queue.h>
This commit is contained in:
commit
070b2c6f38
@ -31,10 +31,12 @@ extern "C" {
|
|||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
|
||||||
|
#ifdef __IOS__
|
||||||
/* workaround for SLIST_ENTRY conflict */
|
/* workaround for SLIST_ENTRY conflict */
|
||||||
|
|
||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
#undef SLIST_ENTRY
|
#undef SLIST_ENTRY
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CONTAINING_RECORD
|
#ifndef CONTAINING_RECORD
|
||||||
#define CONTAINING_RECORD(address, type, field) \
|
#define CONTAINING_RECORD(address, type, field) \
|
||||||
|
Loading…
Reference in New Issue
Block a user