diff options
Diffstat (limited to 'gst-libs/gst/opencv/opencv-prelude.h')
-rw-r--r-- | gst-libs/gst/opencv/opencv-prelude.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/opencv/opencv-prelude.h b/gst-libs/gst/opencv/opencv-prelude.h index 2cbea56f9..fe719d48f 100644 --- a/gst-libs/gst/opencv/opencv-prelude.h +++ b/gst-libs/gst/opencv/opencv-prelude.h @@ -25,7 +25,11 @@ #include <gst/gst.h> #ifndef GST_OPENCV_API -#define GST_OPENCV_API GST_EXPORT +# ifdef BUILDING_GST_OPENCV +# define GST_OPENCV_API GST_API_EXPORT /* from config.h */ +# else +# define GST_OPENCV_API GST_API_IMPORT +# endif #endif #endif /* __GST_OPENCV_PRELUDE_H__ */ |