summaryrefslogtreecommitdiff
path: root/trdlocal.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-11 19:54:02 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-11 19:54:02 +0000
commit6748f3fd1d4d4b0067d9714c881f1e8728822f16 (patch)
treef68d9e1de12645eeaafaf54c7754a8e5ae8833df /trdlocal.cpp
parentd1a556994bb6aa60ea0f8e6e13e02336e1b7e517 (diff)
downloadcryptopp-6748f3fd1d4d4b0067d9714c881f1e8728822f16.tar.gz
fix for Unix
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@95 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'trdlocal.cpp')
-rw-r--r--trdlocal.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/trdlocal.cpp b/trdlocal.cpp
index e96c685..240f2a1 100644
--- a/trdlocal.cpp
+++ b/trdlocal.cpp
@@ -3,12 +3,11 @@
#include "pch.h"
#ifndef CRYPTOPP_IMPORTS
+#ifdef THREADS_AVAILABLE
#include "trdlocal.h"
#include <windows.h>
-#ifdef THREADS_AVAILABLE
-
NAMESPACE_BEGIN(CryptoPP)
ThreadLocalStorage::Err::Err(const std::string& operation, int error)
@@ -68,5 +67,4 @@ void *ThreadLocalStorage::GetValue() const
NAMESPACE_END
#endif // #ifdef THREADS_AVAILABLE
-
#endif