Make iOS workaround iOS specific
Fixes compilation on systems without <sys/queue.h>.
This commit is contained in:
parent
f818bab4b6
commit
cd581cfb22
@ -31,10 +31,12 @@ extern "C" {
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
#ifdef __IOS__
|
||||
/* workaround for SLIST_ENTRY conflict */
|
||||
|
||||
#include <sys/queue.h>
|
||||
#undef SLIST_ENTRY
|
||||
#endif
|
||||
|
||||
#ifndef CONTAINING_RECORD
|
||||
#define CONTAINING_RECORD(address, type, field) \
|
||||
|
Loading…
Reference in New Issue
Block a user