summaryrefslogtreecommitdiff
path: root/trdlocal.h
diff options
context:
space:
mode:
Diffstat (limited to 'trdlocal.h')
-rw-r--r--trdlocal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/trdlocal.h b/trdlocal.h
index f07b793..92d244a 100644
--- a/trdlocal.h
+++ b/trdlocal.h
@@ -8,8 +8,7 @@
#include "misc.h"
#ifdef HAS_WINTHREADS
-#include <windows.h>
-typedef DWORD ThreadLocalIndexType;
+typedef unsigned long ThreadLocalIndexType;
#else
#include <pthread.h>
typedef pthread_key_t ThreadLocalIndexType;
@@ -18,7 +17,7 @@ typedef pthread_key_t ThreadLocalIndexType;
NAMESPACE_BEGIN(CryptoPP)
//! thread local storage
-class ThreadLocalStorage : public NotCopyable
+class CRYPTOPP_DLL ThreadLocalStorage : public NotCopyable
{
public:
//! exception thrown by ThreadLocalStorage class