]>
git.saurik.com Git - wxWidgets.git/blob - 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
6 // Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _X11_PRIVATE_WRAPXKB_H_
11 #define _X11_PRIVATE_WRAPXKB_H_
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
19 #include <X11/XKBlib.h>
22 #endif // HAVE_X11_XKBLIB_H
24 #endif // _X11_PRIVATE_WRAPXKB_H_