From: Eric Anholt Date: Wed, 11 Aug 2010 05:33:39 +0000 (-0700) Subject: mesa: Avoid using c++ keyword in dri_util.h when compiled with c++. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c3acce68001fdf7f5c77d1819d576b4cf92410a;p=mesa.git mesa: Avoid using c++ keyword in dri_util.h when compiled with c++. --- diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h index bc647ff8130..e2fcdaa6389 100644 --- a/src/mesa/drivers/dri/common/dri_util.h +++ b/src/mesa/drivers/dri/common/dri_util.h @@ -513,7 +513,11 @@ struct __DRIscreenRec { * * This pointer is never touched by the DRI layer. */ +#ifdef __cplusplus + void *priv; +#else void *private; +#endif /* Extensions provided by the loader. */ const __DRIgetDrawableInfoExtension *getDrawableInfo;