summaryrefslogtreecommitdiffhomepage
path: root/compat/spinlock.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/spinlock.hpp')
-rw-r--r--compat/spinlock.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/spinlock.hpp b/compat/spinlock.hpp
index 7e4cd8cf..b94df7c8 100644
--- a/compat/spinlock.hpp
+++ b/compat/spinlock.hpp
@@ -1,9 +1,10 @@
#pragma once
+#include "export.hpp"
#include "macros1.h"
#include <atomic>
-struct spinlock_guard final
+struct OTR_COMPAT_EXPORT spinlock_guard final
{
spinlock_guard(const spinlock_guard&) = delete;
spinlock_guard& operator=(const spinlock_guard&) = delete;