summaryrefslogtreecommitdiff
path: root/trdlocal.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-11 19:54:02 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-11 19:54:02 +0000
commiteae4a066e1ea6e9228102c99e943fd43a759755a (patch)
treef68d9e1de12645eeaafaf54c7754a8e5ae8833df /trdlocal.cpp
parente43a0491cddf3c55c2137addbb834cd5fe43e47a (diff)
downloadcryptopp-git-eae4a066e1ea6e9228102c99e943fd43a759755a.tar.gz
fix for Unix
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 e96c685a..240f2a1e 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