diff options
Diffstat (limited to 'src/lib/base')
-rw-r--r-- | src/lib/base/algo_registry.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/base/algo_registry.h b/src/lib/base/algo_registry.h index 0ed7dd52d..6214250fc 100644 --- a/src/lib/base/algo_registry.h +++ b/src/lib/base/algo_registry.h @@ -23,8 +23,12 @@ #define WIN32_LEAN_AND_MEAN 1 #include <Windows.h> +#endif + namespace Botan { +#if defined(BOTAN_WORKAROUND_GH_321) + class WinCS_Mutex { public: @@ -52,13 +56,8 @@ class WinCS_Mutex CRITICAL_SECTION m_cs; }; -} // namespace - #endif -namespace Botan { - - template<typename T> class Algo_Registry { |