summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-06-23 14:52:12 -0400
committerAdam Jackson <ajax@redhat.com>2008-06-23 14:52:12 -0400
commit9ab3d5cca3cf9a76c6873007b8d4345c838cc297 (patch)
treedb7614773ea30ea694051fa87fcb9ed1e77d3962
parent2df8499d24d15bfca3c928b681f64b6e8a05f0af (diff)
Bug #16149: Make the field not be named 'delete' in C++ mode.
Thanks for the upward compatibility, Bjarne.
-rw-r--r--randrproto.h4
1 files changed, 4 insertions, 0 deletions
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;