Commit bc79f1f8 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

Rename all instances of typeof

parent 5e078bfa
......@@ -119,7 +119,7 @@ void wl_list_insert_list(struct wl_list *list, struct wl_list *other);
#ifdef __GNUC__
#define __container_of(ptr, sample, member) \
(typeof(sample))((char *)(ptr) - \
(__typeof__(sample))((char *)(ptr) - \
((char *)&(sample)->member - (char *)(sample)))
#else
#define __container_of(ptr, sample, 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