summaryrefslogtreecommitdiff
path: root/gst-libs/gst/audio/audio-bad-prelude.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/audio/audio-bad-prelude.h')
-rw-r--r--gst-libs/gst/audio/audio-bad-prelude.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/audio/audio-bad-prelude.h b/gst-libs/gst/audio/audio-bad-prelude.h
index 71b326c33..ceb4d9515 100644
--- a/gst-libs/gst/audio/audio-bad-prelude.h
+++ b/gst-libs/gst/audio/audio-bad-prelude.h
@@ -25,7 +25,11 @@
#include <gst/gst.h>
#ifndef GST_AUDIO_BAD_API
-#define GST_AUDIO_BAD_API GST_EXPORT
+# ifdef BUILDING_GST_AUDIO_BAD
+# define GST_AUDIO_BAD_API GST_API_EXPORT /* from config.h */
+# else
+# define GST_AUDIO_BAD_API GST_API_IMPORT
+# endif
#endif
#endif /* __GST_AUDIO_BAD_PRELUDE_H__ */