summaryrefslogtreecommitdiffhomepage
path: root/video-opencv/export.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video-opencv/export.hpp')
-rw-r--r--video-opencv/export.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/video-opencv/export.hpp b/video-opencv/export.hpp
new file mode 100644
index 00000000..1d43a9f1
--- /dev/null
+++ b/video-opencv/export.hpp
@@ -0,0 +1,11 @@
+// generates export.hpp for each module from compat/linkage.hpp
+
+#pragma once
+
+#include "compat/linkage-macros.hpp"
+
+#ifdef BUILD_VIDEO_OPENCV
+# define OTR_VIDEO_OPENCV_EXPORT OTR_GENERIC_EXPORT
+#else
+# define OTR_VIDEO_OPENCV_EXPORT OTR_GENERIC_IMPORT
+#endif