diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-10 22:33:39 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-13 17:54:46 -0700 |
commit | 9c3acce68001fdf7f5c77d1819d576b4cf92410a (patch) | |
tree | 8bde72daf5199368c447c28ee1c0e3663939499e | |
parent | c374487a54aca2dd1053645092367c1cf0414ef7 (diff) |
mesa: Avoid using c++ keyword in dri_util.h when compiled with c++.
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |