From: Alan Hourihane Date: Fri, 12 Dec 2003 22:35:02 +0000 (+0000) Subject: fix for C++ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b81ccd826271925bbc9286df84a802027645875;p=mesa.git fix for C++ --- diff --git a/include/GL/internal/glcore.h b/include/GL/internal/glcore.h index 140b3991687..7080b7ce74e 100644 --- a/include/GL/internal/glcore.h +++ b/include/GL/internal/glcore.h @@ -268,7 +268,11 @@ struct __GLdrawableBufferRec { /* exported */ void (*freePrivate)(__GLdrawableBuffer *buf, __GLdrawablePrivate *glPriv); +#ifdef __cplusplus + void *privatePtr; +#else void *private; +#endif /* private */ void *other; /* implementation private data */ @@ -359,7 +363,11 @@ struct __GLdrawablePrivateRec { void (*unlockDP)(__GLdrawablePrivate *glPriv); /* exported */ +#ifdef __cplusplus + void *privatePtr; +#else void *private; +#endif void (*freePrivate)(__GLdrawablePrivate *); /* client data */