aboutsummaryrefslogtreecommitdiffstats
path: root/src/platforms/windows/windowsHandler.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2012-11-06 15:05:24 +0000
committerVincent Richard <[email protected]>2012-11-06 15:05:24 +0000
commitdefc1bba1dbc3c5720c31d0fe483de90e04935f9 (patch)
tree7aa72c176c40ef759f9239ceb872479a51a02931 /src/platforms/windows/windowsHandler.cpp
parentThread-safe initialization for OpenSSL. (diff)
downloadvmime-defc1bba1dbc3c5720c31d0fe483de90e04935f9.tar.gz
vmime-defc1bba1dbc3c5720c31d0fe483de90e04935f9.zip
Fixed compilation issues on Windows.
Diffstat (limited to '')
-rw-r--r--src/platforms/windows/windowsHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/windows/windowsHandler.cpp b/src/platforms/windows/windowsHandler.cpp
index 824589b7..9a3a85e3 100644
--- a/src/platforms/windows/windowsHandler.cpp
+++ b/src/platforms/windows/windowsHandler.cpp
@@ -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>();
}