diff --git a/src/cairoint.h b/src/cairoint.h index 0aa9ebf12..29b8ea68a 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -127,7 +127,7 @@ _cairo_win32_tmpfile (void); #ifdef __GNUC__ #define cairo_container_of(ptr, type, member) ({ \ - const typeof(((type *) 0)->member) *mptr__ = (ptr); \ + const __typeof__ (((type *) 0)->member) *mptr__ = (ptr); \ (type *) ((char *) mptr__ - offsetof (type, member)); \ }) #else