MacArthur, Ian (SELEX GALILEO, UK) wrote:
>> c:\fltk-1.3.x-r6960\src\Fl_win32.cxx(236) : warning C4005:
>> 'POLLIN' : macro redefinition
>> C:\Program Files\Microsoft
>> SDKs\Windows\v6.0A\\include\winsock2.h(1495) : see previous
>> definition of 'POLLIN'
>> c:\fltk-1.3.x-r6960\src\Fl_wi
> Anyway, this has changed recently by combining all Fl_Widget
> flags in one file, and maybe this needs to be checked again.
>
> > I suppose we could put an:
> > #ifdef _WIN32_
> > public:
> > #endif
> >
> > Type of thing around the enum definition...?
>
> Hmm, or make it public anyway, or may
Albrecht Schlosser wrote:
> MacArthur, Ian (SELEX GALILEO, UK) wrote:
>> Greg wrote:
>>> c:\fltk-1.3.x-r6960\src\Fl_win32.cxx(236) : warning C4005: 'POLLIN' : macro
>>> redefinition C:\Program Files\Microsoft
>>> SDKs\Windows\v6.0A\\include\winsock2.h(1495) : see previous definition of
>>> 'POLL
On 17 Dec 2009, at 15:46, Greg Ercolano wrote:
>>
>> To be sure: Greg, would you please check what the definition of
>> POLL* in winsock2.h is?
>
> Here's what's defined in the winsock2.h file:
>
> snip
>
> So if I read that right, the net effect is:
>
> #define POLLIN 0x0300
>