summaryrefslogtreecommitdiff
path: root/gst-libs/gst/insertbin/gstinsertbin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/insertbin/gstinsertbin.h')
-rw-r--r--gst-libs/gst/insertbin/gstinsertbin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/insertbin/gstinsertbin.h b/gst-libs/gst/insertbin/gstinsertbin.h
index d5539a405..705ae309c 100644
--- a/gst-libs/gst/insertbin/gstinsertbin.h
+++ b/gst-libs/gst/insertbin/gstinsertbin.h
@@ -34,7 +34,11 @@
#include <gst/gst.h>
#ifndef GST_INSERT_BIN_API
-#define GST_INSERT_BIN_API GST_EXPORT
+# ifdef BUILDING_GST_INSERT_BIN
+# define GST_INSERT_BIN_API GST_API_EXPORT /* from config.h */
+# else
+# define GST_INSERT_BIN_API GST_API_IMPORT
+# endif
#endif
G_BEGIN_DECLS