diff options
| -rw-r--r-- | src/Fl_get_key.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_get_key.cxx b/src/Fl_get_key.cxx index 3d8acf79f..e7b753d64 100644 --- a/src/Fl_get_key.cxx +++ b/src/Fl_get_key.cxx @@ -16,6 +16,9 @@ // http://www.fltk.org/str.php // +#include "config_lib.h" +#if defined(FL_CFG_SYS_POSIX) && !defined(FL_DOXYGEN) + // Return the current state of a key. This is the X version. I identify // keys (mostly) by the X keysym. So this turns the keysym into a keycode // and looks it up in the X key bit vector, which Fl_x.cxx keeps track of. @@ -48,6 +51,8 @@ int Fl_X11_System_Driver::get_key(int k) { return event_key(k); } +#endif // FL_CFG_SYS_POSIX + // // End of "$Id$". // |
