diff options
author | Werner Koch <wk@gnupg.org> | 2018-04-30 07:49:11 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2018-04-30 07:49:11 +0200 |
commit | 4f45f3e0bb404b4a9787cb55ca154c6f60c1437b (patch) | |
tree | 9baca1c024ea6bd108be934df84b032e281d656f /src/estream.c | |
parent | 0d828dab0a0cb50e76f16b7af6ad542e1ef5a7f6 (diff) | |
download | libgpg-error-4f45f3e0bb404b4a9787cb55ca154c6f60c1437b.tar.gz |
core: Fix gpgrt_poll for Windows under nPth.
* src/estream.c (_gpgrt_poll) [W32]: Use syscall clamp.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/estream.c')
-rw-r--r-- | src/estream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/estream.c b/src/estream.c index dcabd92..a1cc62e 100644 --- a/src/estream.c +++ b/src/estream.c @@ -4802,7 +4802,9 @@ _gpgrt_poll (gpgrt_poll_t *fds, unsigned int nfds, int timeout) /* Now do the real select. */ #ifdef HAVE_W32_SYSTEM + _gpgrt_pre_syscall (); count = _gpgrt_w32_poll (fds, nfds, timeout); + _gpgrt_post_syscall (); #else /*!HAVE_W32_SYSTEM*/ |