Add a hack for compiling xcb/xcb_icccm.h with C++.
xcb/xcb_iccm.h isn't C++ safe (some versions) because it has a variable called "class" in function signatures. The hack is to define "class" to something else before that header is included, and then undef "class" immediately afterwards. CCMAIL: mgraesslin@kde.org, fredrik@kde.orgmaster
parent
47acf4ee9a
commit
ecb9c1cf5a
Loading…
Reference in New Issue