[Mesa-dev] [PATCH 06/53] i965/drm: Use __typeof__ rather than typeof.

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 5 09:29:13 UTC 2017


On Tue, Apr 04, 2017 at 05:09:56PM -0700, Kenneth Graunke wrote:
> typeof doesn't seem to exist.  This code is going to die soon anyway.

Hmm. Presumably libdrm_lists.h isn't compiled at this point in the
series? Just checking!

#ifndef typeof
#define typeof __typeof__
#endif

Slightly less invasive?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the mesa-dev mailing list