]> git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/private/wrapxkb.h
The rounded corners look really dumb at this size.
[wxWidgets.git] / include / wx / x11 / private / wrapxkb.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/x11/private/wrapxkb.h
3 // Purpose: Private header wrapping X11/XKBlib.h inclusion.
4 // Author: Vadim Zeitlin
5 // Created: 2012-05-07
6 // Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _X11_PRIVATE_WRAPXKB_H_
11 #define _X11_PRIVATE_WRAPXKB_H_
12
13 #ifdef HAVE_X11_XKBLIB_H
14 /* under HP-UX and Solaris 2.6, at least, XKBlib.h defines structures with
15 * field named "explicit" - which is, of course, an error for a C++
16 * compiler. To be on the safe side, just redefine it everywhere. */
17 #define explicit __wx_explicit
18
19 #include <X11/XKBlib.h>
20
21 #undef explicit
22 #endif // HAVE_X11_XKBLIB_H
23
24 #endif // _X11_PRIVATE_WRAPXKB_H_