mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Shared/OpenSSLCrypto: Add switch to fix build under Mac
This commit is contained in:
@@ -33,7 +33,12 @@ static void lockingCallback(int mode, int type, const char* /*file*/, int /*line
|
||||
|
||||
static void threadIdCallback(CRYPTO_THREADID * id)
|
||||
{
|
||||
/// ACE_thread_t turns out to be a struct under Mac OS.
|
||||
#ifndef __APPLE__
|
||||
CRYPTO_THREADID_set_numeric(id, ACE_Thread::self());
|
||||
#else
|
||||
CRYPTO_THREADID_set_pointer(id, ACE_Thread::self());
|
||||
#endif
|
||||
}
|
||||
|
||||
void OpenSSLCrypto::threadsSetup()
|
||||
|
||||
Reference in New Issue
Block a user