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:27 +0000 (10:31 +0200)
commitf2828a14fbe2ce56b5090f45b2a9a6e749d33b22
treeaab1fdc2e27d5afb4fd5b7f2622c78c2f4005219
parentd46f9173bbd62ffa7ae0b20bf05c600e14722cc6
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