summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-29 13:34:05 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:19 +0100
commit3f0f866e6986ffc4b010d841292e06a6895ba74b (patch)
treea362d5b57216728702d3dd8e5eefb9949ac71cea /compat
parentfda4eeb7f333d92d1b11427b96fb72f89869a4de (diff)
compat/spinlock: add export declaration
Diffstat (limited to 'compat')
-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;