[Mesa-dev] [PATCH] dri: Make drisw_util c++ compatible

nobled nobled at dreamwidth.org
Tue Sep 7 09:07:21 PDT 2010


---
 src/mesa/drivers/dri/common/drisw_util.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/common/drisw_util.h
b/src/mesa/drivers/dri/common/drisw_util.h
index 9c3d01c..3cf4998 100644
--- a/src/mesa/drivers/dri/common/drisw_util.h
+++ b/src/mesa/drivers/dri/common/drisw_util.h
@@ -93,7 +93,11 @@ struct __DRIscreenRec {

     int fd;

+#ifdef __cplusplus
+    void *priv;
+#else
     void *private;
+#endif

     const __DRIextension **extensions;

-- 
1.7.0.4


More information about the mesa-dev mailing list