X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0492f7d97d77ec085e58d3f4a66c86508bc5f31..239bca2e6d38f4566e7bc6f93b8119a671f4a7dc:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 4a64e6a797..18a0504bef 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -35,7 +35,16 @@ #include #include #include -#include "X11/XKBlib.h" + +#ifdef __HPUX__ + // under HP-UX XKBlib.h defines structures with field named "explicit" - + // which is, of course, an error for a C++ compiler + #define explicit __wx_explicit +#endif + #include "X11/XKBlib.h" +#ifdef __HPUX__ + #undef explicit +#endif // __HPUX__ // ---------------------------------------------------------------------------- // misc.