]>
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 // 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 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _X11_PRIVATE_WRAPXKB_H_
12 #define _X11_PRIVATE_WRAPXKB_H_
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
20 #include <X11/XKBlib.h>
23 #endif // HAVE_X11_XKBLIB_H
25 #endif // _X11_PRIVATE_WRAPXKB_H_