From 32f79730739db148979ac3c8ef96eb5ade2b94e2 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 16 Feb 2021 15:31:28 +0100 Subject: Remove FL_CFG_SYS_POSIX preprocessor variable from Fl_get_key.cxx --- src/Fl_get_key.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Fl_get_key.cxx b/src/Fl_get_key.cxx index 3a6382ff8..a47aa2b7e 100644 --- a/src/Fl_get_key.cxx +++ b/src/Fl_get_key.cxx @@ -1,7 +1,7 @@ // // Keyboard state routines for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2018 by Bill Spitzak and others. +// Copyright 1998-2021 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -14,8 +14,8 @@ // https://www.fltk.org/bugs.php // -#include "config_lib.h" -#if defined(FL_CFG_SYS_POSIX) && !defined(FL_DOXYGEN) +#include +#if !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 @@ -49,4 +49,4 @@ int Fl_X11_System_Driver::get_key(int k) { return event_key(k); } -#endif // FL_CFG_SYS_POSIX +#endif // FL_DOXYGEN -- cgit v1.2.3