From bc79f1f820409fb92c158a9d2df8a99ad269018e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 22 Dec 2011 15:32:37 -0500 Subject: [PATCH] Rename all instances of typeof --- src/wayland-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-util.h b/src/wayland-util.h index 8061368..944e7f0 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @@ -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) \ -- 2.7.4