summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-16 15:31:28 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-16 15:50:15 +0100
commit32f79730739db148979ac3c8ef96eb5ade2b94e2 (patch)
treecc10f62536ba34ec4a39c2b351c7fc06553378dc
parentbf95eb1c09c6a3bf6a04dcc4ca55a78ade32d6a2 (diff)
Remove FL_CFG_SYS_POSIX preprocessor variable from Fl_get_key.cxx
-rw-r--r--src/Fl_get_key.cxx8
1 files 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 <config.h>
+#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