From 4c754126e1a3eb477b10006d392aa4988db7c078 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 29 Sep 2021 08:10:12 +0200 Subject: video: fix syntax on clang --- video/camera.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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 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) -- cgit v1.2.3