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.cxx | |
| parent | 9a5e3b95b8abe132c36eb58a55f0e5188c726e20 (diff) | |
Restore use of build option FLTK_USE_POLL
Diffstat (limited to 'src/drivers/Unix/Fl_Unix_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/Unix/Fl_Unix_Screen_Driver.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/Unix/Fl_Unix_Screen_Driver.cxx b/src/drivers/Unix/Fl_Unix_Screen_Driver.cxx index 4988474cb..97b11b840 100644 --- a/src/drivers/Unix/Fl_Unix_Screen_Driver.cxx +++ b/src/drivers/Unix/Fl_Unix_Screen_Driver.cxx @@ -18,7 +18,9 @@ #include <sys/time.h> #include "Fl_Unix_Screen_Driver.H" -#if !USE_POLL +#if USE_POLL +pollfd *Fl_Unix_Screen_Driver::pollfds = NULL; +#else fd_set Fl_Unix_Screen_Driver::fdsets[3]; #endif int Fl_Unix_Screen_Driver::maxfd = 0; |
