arch/async_posix.h: improve portability.
authorAndy Polyakov <appro@openssl.org>
Wed, 17 Oct 2018 08:09:33 +0000 (10:09 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 19 Oct 2018 08:31:04 +0000 (10:31 +0200)
commitfc762e7d5c21b534af967f4308b2b9597fe76d7f
treecd81d306613554314bace9dcb3d94deff11a17fc
parentaa519853be79ae92e6aa8ec34de5d1803d721b00
arch/async_posix.h: improve portability.

{make|swap|get|set}context are removed in POSIX.1-2008, but glibc
apparently keeps providing it.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7420)

(cherry picked from commit 9d71a24ebf57e7157888af1ca587eafe914bf96f)
crypto/async/arch/async_posix.h