summaryrefslogtreecommitdiff
path: root/gst-libs/gst/uridownloader/uridownloader-prelude.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/uridownloader/uridownloader-prelude.h')
-rw-r--r--gst-libs/gst/uridownloader/uridownloader-prelude.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/uridownloader/uridownloader-prelude.h b/gst-libs/gst/uridownloader/uridownloader-prelude.h
index f5ad5843c..92a6abbf6 100644
--- a/gst-libs/gst/uridownloader/uridownloader-prelude.h
+++ b/gst-libs/gst/uridownloader/uridownloader-prelude.h
@@ -25,7 +25,11 @@
#include <gst/gst.h>
#ifndef GST_URI_DOWNLOADER_API
-#define GST_URI_DOWNLOADER_API GST_EXPORT
+# ifdef BUILDING_GST_URI_DOWNLOADER
+# define GST_URI_DOWNLOADER_API GST_API_EXPORT /* from config.h */
+# else
+# define GST_URI_DOWNLOADER_API GST_API_IMPORT
+# endif
#endif
#endif /* __GST_URI_DOWNLOADER_PRELUDE_H__ */