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:29:21 +0000 (10:29 +0200)
commit9d71a24ebf57e7157888af1ca587eafe914bf96f
tree3f1c60480742c0268262b293f39bf2af0be1ba35
parentcb8164b05e3bad5586c2a109bbdbab1ad65a1a6f
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)
crypto/async/arch/async_posix.h