|
|
commit 32f79730739db148979ac3c8ef96eb5ade2b94e2
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Feb 16 15:31:28 2021 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Feb 16 15:50:15 2021 +0100
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 src/Fl_get_key.cxx src/Fl_get_key.cxx
index 3a6382f..a47aa2b 100644
--- src/Fl_get_key.cxx
+++ 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
[ Direct Link to Message ] | |
|
| |