diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-05-03 00:23:05 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-05-09 03:07:57 -0400 |
| commit | d294b4290b997f174ade322a9638db2f1e15ed41 (patch) | |
| tree | 9c8faf70d56d2be3c5fb0a7c040ca652e8c69e5a /trdlocal.cpp | |
| parent | 69f7802b53dfbc7ac9aacbaff02b45d6582aad3d (diff) | |
| download | cryptopp-git-d294b4290b997f174ade322a9638db2f1e15ed41.tar.gz | |
Add changes for Windows Sotre that went missing with my clumsy Git skills
Diffstat (limited to 'trdlocal.cpp')
| -rw-r--r-- | trdlocal.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/trdlocal.cpp b/trdlocal.cpp index ecc7d7b0..12386abe 100644 --- a/trdlocal.cpp +++ b/trdlocal.cpp @@ -9,7 +9,8 @@ #endif
#ifndef CRYPTOPP_IMPORTS
-#ifdef THREADS_AVAILABLE
+
+#if !defined(NO_OS_DEPENDENCE) && defined(THREADS_AVAILABLE)
#include "trdlocal.h"
@@ -101,5 +102,5 @@ void *ThreadLocalStorage::GetValue() const NAMESPACE_END
-#endif // #ifdef THREADS_AVAILABLE
-#endif
+#endif // THREADS_AVAILABLE
+#endif // CRYPTOPP_IMPORTS
|
