summaryrefslogtreecommitdiff
path: root/trdlocal.cpp
diff options
context:
space:
mode:
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