Make iOS workaround iOS specific

Fixes compilation on systems without <sys/queue.h>.
This commit is contained in:
Felix Janda 2016-06-12 17:54:52 +02:00
parent f818bab4b6
commit cd581cfb22

View File

@ -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) \