summaryrefslogtreecommitdiff
path: root/gst-libs/gst/isoff/gstisoff.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/isoff/gstisoff.h')
-rw-r--r--gst-libs/gst/isoff/gstisoff.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/isoff/gstisoff.h b/gst-libs/gst/isoff/gstisoff.h
index 437859b2e..43d337516 100644
--- a/gst-libs/gst/isoff/gstisoff.h
+++ b/gst-libs/gst/isoff/gstisoff.h
@@ -31,7 +31,11 @@
G_BEGIN_DECLS
#ifndef GST_ISOFF_API
-#define GST_ISOFF_API GST_EXPORT
+# ifdef BUILDING_GST_ISOFF
+# define GST_ISOFF_API GST_API_EXPORT /* from config.h */
+# else
+# define GST_ISOFF_API GST_API_IMPORT
+# endif
#endif
typedef enum {