]>
Commit | Line | Data |
---|---|---|
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 | // RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $ | |
7 | // Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org> | |
8 | // Licence: wxWindows licence | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _X11_PRIVATE_WRAPXKB_H_ | |
12 | #define _X11_PRIVATE_WRAPXKB_H_ | |
13 | ||
14 | #ifdef HAVE_X11_XKBLIB_H | |
15 | /* under HP-UX and Solaris 2.6, at least, XKBlib.h defines structures with | |
16 | * field named "explicit" - which is, of course, an error for a C++ | |
17 | * compiler. To be on the safe side, just redefine it everywhere. */ | |
18 | #define explicit __wx_explicit | |
19 | ||
20 | #include <X11/XKBlib.h> | |
21 | ||
22 | #undef explicit | |
23 | #endif // HAVE_X11_XKBLIB_H | |
24 | ||
25 | #endif // _X11_PRIVATE_WRAPXKB_H_ |