diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-06-03 08:23:04 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-06-03 08:23:04 +0200 |
| commit | 85be70efa516bccb375bd7c011a2882a064c24da (patch) | |
| tree | d8dd4c770edf71ddda23b2851745aba5b3bdbb8f /src/drivers/Unix/Fl_Unix_Screen_Driver.H | |
| parent | 9a5e3b95b8abe132c36eb58a55f0e5188c726e20 (diff) | |
Restore use of build option FLTK_USE_POLL
Diffstat (limited to 'src/drivers/Unix/Fl_Unix_Screen_Driver.H')
| -rw-r--r-- | src/drivers/Unix/Fl_Unix_Screen_Driver.H | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/Unix/Fl_Unix_Screen_Driver.H b/src/drivers/Unix/Fl_Unix_Screen_Driver.H index 36eb943f8..dd3f6e5c7 100644 --- a/src/drivers/Unix/Fl_Unix_Screen_Driver.H +++ b/src/drivers/Unix/Fl_Unix_Screen_Driver.H @@ -24,7 +24,6 @@ # if USE_POLL # include <poll.h> -static pollfd *pollfds = 0; # else # if HAVE_SYS_SELECT_H @@ -52,7 +51,9 @@ static pollfd *pollfds = 0; class Fl_Unix_Screen_Driver : public Fl_Screen_Driver { public: -# if !USE_POLL +# if USE_POLL + static pollfd *pollfds; +# else static fd_set fdsets[3]; # endif static int maxfd; |
