Commit 309fe426 authored by ck's avatar ck
Browse files

Make Botan and Ne7 libs compile on Mac.

parent b90cb496
......@@ -172,7 +172,9 @@
#define BOTAN_HAS_TEA
#define BOTAN_HAS_TIGER
#define BOTAN_HAS_TIMER
#ifndef Q_OS_MAC
#define BOTAN_HAS_TIMER_POSIX
#endif
#define BOTAN_HAS_TIMER_UNIX
#define BOTAN_HAS_TLS_V10_PRF
#define BOTAN_HAS_TURING
......
......@@ -24,7 +24,7 @@ Ne7ssh_Mutex::Ne7ssh_Mutex()
pthread_mutexattr_t mattr;
pthread_mutexattr_init (&mattr);
pthread_mutexattr_settype (&mattr, PTHREAD_MUTEX_ERRORCHECK_NP);
pthread_mutexattr_settype (&mattr, PTHREAD_MUTEX_ERRORCHECK);
pthread_mutex_init (&mutint, &mattr);
pthread_mutexattr_destroy (&mattr);
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment