summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-12-17 12:31:19 +0000
committerHerbert Dürr <hdu@apache.org>2013-12-17 12:31:19 +0000
commited609e7d76aa27d82818a405afd1c58fe5136d1e (patch)
tree21fea1b71d53dcc034c0d64b082b15cda477e0c4 /tools
parent70557310027f12ac362fed5376578c1e577ff4d9 (diff)
#i123865# enable XKB for all X11-based display targets
Notes
Notes: prefer: 59c08b6f768ee8b797ec51a03d1d22c7bf6138bb
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/prex.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/inc/tools/prex.h b/tools/inc/tools/prex.h
index 3204ddb0cb5a..846d7aae7604 100644
--- a/tools/inc/tools/prex.h
+++ b/tools/inc/tools/prex.h
@@ -39,20 +39,13 @@
extern "C" {
#endif
-#if defined(LINUX) || defined(FREEBSD) || defined(MACOSX) // should really check for xfree86 or for X11R6.1 and higher
-#define __XKeyboardExtension__ 1
-#else
-#define __XKeyboardExtension__ 0
-#endif
-
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/StringDefs.h>
#include <X11/extensions/Xrender.h>
-#if __XKeyboardExtension__
#include <X11/XKBlib.h>
-#endif
+
typedef unsigned long Pixel;
#undef DestroyAll