Restore building with option FLTK_USE_POLL

This commit is contained in:
ManoloFLTK 2024-08-27 18:32:47 +02:00
parent 5fae7b36bb
commit c7417f793f
2 changed files with 4 additions and 0 deletions

View File

@ -52,7 +52,9 @@ static pollfd *pollfds = 0;
class Fl_Unix_Screen_Driver : public Fl_Screen_Driver {
public:
# if !USE_POLL
static fd_set fdsets[3];
# endif
static int maxfd;
static int nfds;
static struct FD {

View File

@ -18,7 +18,9 @@
#include <sys/time.h>
#include "Fl_Unix_Screen_Driver.H"
#if !USE_POLL
fd_set Fl_Unix_Screen_Driver::fdsets[3];
#endif
int Fl_Unix_Screen_Driver::maxfd = 0;
int Fl_Unix_Screen_Driver::nfds = 0;
Fl_Unix_Screen_Driver::FD *Fl_Unix_Screen_Driver::fd = NULL;