summaryrefslogtreecommitdiffhomepage
path: root/video/camera.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/camera.hpp')
-rw-r--r--video/camera.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/camera.hpp b/video/camera.hpp
index 8d96ff6b..6181dbf3 100644
--- a/video/camera.hpp
+++ b/video/camera.hpp
@@ -81,7 +81,7 @@ void register_camera(std::unique_ptr<impl::camera_> metadata);
#ifdef _MSC_VER
// shared library targets without any symbols break cmake build
# define OTR_REGISTER_CAMERA_IMPL(type) \
- extern "C" __declspec(dllexport) [[maybe_unused]] \
+ extern "C" [[maybe_unused]] __declspec(dllexport) \
void _opentrack_module_video_ ##type (void) {}
# define OTR_REGISTER_CAMERA_IMPL2(type) \
OTR_REGISTER_CAMERA_IMPL(type)