diff options
Diffstat (limited to 'src/lib/utils/mutex.h')
-rw-r--r-- | src/lib/utils/mutex.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/utils/mutex.h b/src/lib/utils/mutex.h index 6e24815bb..34fed5c81 100644 --- a/src/lib/utils/mutex.h +++ b/src/lib/utils/mutex.h @@ -20,7 +20,7 @@ typedef std::mutex mutex_type; } -#elif defined(BOTAN_TARGET_OS_TYPE_IS_UNIKERNEL) || defined(BOTAN_TARGET_OS_IS_LLVM) +#else // No threads @@ -53,8 +53,6 @@ template<typename T> using lock_guard_type = lock_guard<T>; } -#else - #error "Threads unexpectedly disabled in non unikernel build" #endif #endif |