From 9ab3d5cca3cf9a76c6873007b8d4345c838cc297 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 23 Jun 2008 14:52:12 -0400 Subject: [PATCH] Bug #16149: Make the field not be named 'delete' in C++ mode. Thanks for the upward compatibility, Bjarne. --- randrproto.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/randrproto.h b/randrproto.h index cf7a022..3fb2e45 100644 --- a/randrproto.h +++ b/randrproto.h @@ -376,7 +376,11 @@ typedef struct { Atom type B32; CARD32 longOffset B32; CARD32 longLength B32; +#ifdef __cplusplus + BOOL _delete; +#else BOOL delete; +#endif BOOL pending; CARD16 pad1 B16; } xRRGetOutputPropertyReq;