projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c374487
)
mesa: Avoid using c++ keyword in dri_util.h when compiled with c++.
author
Eric Anholt
<eric@anholt.net>
Wed, 11 Aug 2010 05:33:39 +0000
(22:33 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sat, 14 Aug 2010 00:54:46 +0000
(17:54 -0700)
src/mesa/drivers/dri/common/dri_util.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/dri_util.h
b/src/mesa/drivers/dri/common/dri_util.h
index bc647ff8130f6f74d39034715f682c0c7eb9240d..e2fcdaa63894651037292f4982d16205bfda1359 100644
(file)
--- 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;