Commit 69d3c611 authored by Max Kellermann's avatar Max Kellermann

util/list: allow typeof() with clang

parent 36827e11
......@@ -27,6 +27,11 @@
#include <glib.h>
#ifdef __clang__
/* allow typeof() */
#pragma GCC diagnostic ignored "-Wlanguage-extension-token"
#endif
/**
* container_of - cast a member of a structure out to the containing structure
* @ptr: the pointer to the member.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment