summaryrefslogtreecommitdiff
path: root/XIproto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-08-15 14:50:23 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-08-15 14:50:46 +0930
commitfabe087cebb11c6a2600e57c6f7a52fda2efea29 (patch)
treed78653ef3318a24b1ade644838240690d8efeced /XIproto.h
parentc2d47b04c55cf72aef6c13a9e2cc4b41abfca673 (diff)
Protect against C++ includes.
Diffstat (limited to 'XIproto.h')
-rw-r--r--XIproto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/XIproto.h b/XIproto.h
index 9ab7d5d..0645f8b 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -1572,7 +1572,11 @@ typedef struct {
CARD32 longOffset B32;
CARD32 longLength B32;
CARD8 deviceid;
+#if defined(__cplusplus) || defined(c_plusplus)
+ BOOL c_delete;
+#else
BOOL delete;
+#endif
BOOL pending;
CARD8 pad;
} xGetDevicePropertyReq;