OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid use of c++ reserved keyword "virtual" when using a C++ compiler.
[android-x86/external-libdrm.git]
/
include
/
drm
/
drm.h
diff --git
a/include/drm/drm.h
b/include/drm/drm.h
index
a0559eb
..
2ba7136
100644
(file)
--- a/
include/drm/drm.h
+++ b/
include/drm/drm.h
@@
-373,7
+373,11
@@
struct drm_buf_pub {
*/
struct drm_buf_map {
int count; /**< Length of the buffer list */
+#ifdef __cplusplus
+ void *virt;
+#else
void *virtual; /**< Mmap'd area in user-virtual */
+#endif
struct drm_buf_pub *list; /**< Buffer information */
};