Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Buckley <calvin@cmpct.info>2018-03-04 18:02:42 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-03-05 19:03:42 +0300
commitd41ef5053b5f58c16de0783e17b9380699e0d03b (patch)
treeb4dcebbad9c5fa527911a00c7a4b8175d7a7074d
parent501b349dd8f6db919198d5c9acd35a470241d812 (diff)
Use system type for CRYPTO_MUTEX on AIX
untested due to AIX bombing out on what I'm sure is the trampoline bug on init, but it makes sense to use
-rw-r--r--include/openssl/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/thread.h b/include/openssl/thread.h
index 9a96fb43..1900d9e3 100644
--- a/include/openssl/thread.h
+++ b/include/openssl/thread.h
@@ -77,7 +77,7 @@ typedef struct crypto_mutex_st {
typedef union crypto_mutex_st {
void *handle;
} CRYPTO_MUTEX;
-#elif defined(__MACH__) && defined(__APPLE__)
+#elif (defined(__MACH__) && defined(__APPLE__)) || defined(_AIX)
typedef pthread_rwlock_t CRYPTO_MUTEX;
#else
/* It is reasonable to include pthread.h on non-Windows systems, however the