mesa: Avoid using c++ keyword in dri_util.h when compiled with c++.
authorEric Anholt <eric@anholt.net>
Wed, 11 Aug 2010 05:33:39 +0000 (22:33 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 14 Aug 2010 00:54:46 +0000 (17:54 -0700)
src/mesa/drivers/dri/common/dri_util.h

index bc647ff..e2fcdaa 100644 (file)
@@ -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;