Fixed compilation issues on Windows.
This commit is contained in:
parent
a6a098b473
commit
defc1bba1d
@ -43,7 +43,7 @@ windowsCriticalSection::windowsCriticalSection()
|
||||
|
||||
windowsCriticalSection::~windowsCriticalSection()
|
||||
{
|
||||
DeleteCriticalSection(&m_cs)
|
||||
DeleteCriticalSection(&m_cs);
|
||||
}
|
||||
|
||||
|
||||
|
@ -241,7 +241,7 @@ unsigned int windowsHandler::getProcessId() const
|
||||
}
|
||||
|
||||
|
||||
unsigned int windowsHandler::getThreadId() cont
|
||||
unsigned int windowsHandler::getThreadId() const
|
||||
{
|
||||
return static_cast <unsigned int>(::GetCurrentThreadId());
|
||||
}
|
||||
@ -289,7 +289,7 @@ void windowsHandler::generateRandomBytes(unsigned char* buffer, const unsigned i
|
||||
}
|
||||
|
||||
|
||||
ref <utility::sync::criticalSection> posixHandler::createCriticalSection()
|
||||
ref <utility::sync::criticalSection> windowsHandler::createCriticalSection()
|
||||
{
|
||||
return vmime::create <windowsCriticalSection>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user