mirror of https://github.com/fltk/fltk
Restore building with option FLTK_USE_POLL
This commit is contained in:
parent
5fae7b36bb
commit
c7417f793f
|
@ -52,7 +52,9 @@ static pollfd *pollfds = 0;
|
||||||
|
|
||||||
class Fl_Unix_Screen_Driver : public Fl_Screen_Driver {
|
class Fl_Unix_Screen_Driver : public Fl_Screen_Driver {
|
||||||
public:
|
public:
|
||||||
|
# if !USE_POLL
|
||||||
static fd_set fdsets[3];
|
static fd_set fdsets[3];
|
||||||
|
# endif
|
||||||
static int maxfd;
|
static int maxfd;
|
||||||
static int nfds;
|
static int nfds;
|
||||||
static struct FD {
|
static struct FD {
|
||||||
|
|
|
@ -18,7 +18,9 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include "Fl_Unix_Screen_Driver.H"
|
#include "Fl_Unix_Screen_Driver.H"
|
||||||
|
|
||||||
|
#if !USE_POLL
|
||||||
fd_set Fl_Unix_Screen_Driver::fdsets[3];
|
fd_set Fl_Unix_Screen_Driver::fdsets[3];
|
||||||
|
#endif
|
||||||
int Fl_Unix_Screen_Driver::maxfd = 0;
|
int Fl_Unix_Screen_Driver::maxfd = 0;
|
||||||
int Fl_Unix_Screen_Driver::nfds = 0;
|
int Fl_Unix_Screen_Driver::nfds = 0;
|
||||||
Fl_Unix_Screen_Driver::FD *Fl_Unix_Screen_Driver::fd = NULL;
|
Fl_Unix_Screen_Driver::FD *Fl_Unix_Screen_Driver::fd = NULL;
|
||||||
|
|
Loading…
Reference in New Issue