[Privoxy-devel] oops: Make poll() non-optional breaks privoxy on windows

Fabian Keil fk at fabiankeil.de
Mon Dec 14 14:04:15 UTC 2020


Lee <ler762 at gmail.com> wrote on 2020-12-14:

> On 12/14/20, Fabian Keil <fk at fabiankeil.de> wrote:
> > Lee <ler762 at gmail.com> wrote on 2020-12-14:
> >
> >> On 12/14/20, Fabian Keil <fk at fabiankeil.de> wrote:
> >> > Lee <ler762 at gmail.com> wrote on 2020-12-14:

> >> > Does this mean the
> >> > #warning poll() appears to be unavailable. Your platform will become
> >> > unsupported in the future.
> >> > is always triggered on Windows?
> >>
> >> I've never noticed it, but that might not mean a whole lot.  Where
> >> should I look for it?
> >
> > It's located in jcc.c but as it turns out it's only shown if _WIN32 isn't
> > defined ...
> 
> If a '#warning xxx' only shows up at compile time maybe you should
> consider something like this:

Given that Windows requires the select()-based code anyway
there's probably no use to warn about it at this time.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20201214/338d86c4/attachment.bin>


More information about the Privoxy-devel mailing list