Home GnuPG

estream: Use poll(2) when available.

Description

estream: Use poll(2) when available.

* configure.ac: Detect poll.h.
* src/estream.c [HAVE_POLL_H] (_gpgrt_poll): Use poll.

Here, we use C99 feature of array declaration with variable.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 26 2019, 2:59 AM
Parents
rE6c2fc52d72b4: tests: Skip the test when pkg-config is too old.
Branches
Unknown
Tags
Unknown