Use __typeof instead of typeof with Solaris Studio compilers
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Mon, 16 Feb 2015 00:19:06 +0000 (16:19 -0800)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Wed, 18 Feb 2015 02:16:33 +0000 (18:16 -0800)
commit4671dca0eecf7dbf3e0d0a13111813756722d57d
treebe13fa54505fe437fa0a6f8f7123871360d1c773
parentd602fbd861e2c3c5570b55f0839361a6f8bd32c7
Use __typeof instead of typeof with Solaris Studio compilers

While the C compiler accepts typeof, C++ requires __typeof.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86944
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/util/u_atomic.h