Merge pull request #26 from dumganhar/fix/disable-async-for-ios

Disable async in openssl for ios since apple forbit developers to use the API (setcontext, getcontext, makecontext).
This commit is contained in:
pandamicro 2017-05-24 11:32:41 +08:00 committed by GitHub
commit 7fa906b85c
6 changed files with 12 additions and 3 deletions

View File

@ -37,8 +37,8 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASM
# define OPENSSL_NO_ASM
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
@ -147,7 +147,7 @@ extern "C" {
# define DEPRECATEDIN_0_9_8(f)
#endif
#define OPENSSL_CPUID_OBJ
/* Generate 80386 code? */
#undef I386_ONLY

View File

@ -37,6 +37,9 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
#endif

View File

@ -37,6 +37,9 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
#endif

View File

@ -37,6 +37,9 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
#endif

Binary file not shown.

Binary file not shown.