diff options
Diffstat (limited to 'gst-libs/gst/codecparsers/codecparsers-prelude.h')
-rw-r--r-- | gst-libs/gst/codecparsers/codecparsers-prelude.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/codecparsers/codecparsers-prelude.h b/gst-libs/gst/codecparsers/codecparsers-prelude.h index 6fe11d304..b056c6489 100644 --- a/gst-libs/gst/codecparsers/codecparsers-prelude.h +++ b/gst-libs/gst/codecparsers/codecparsers-prelude.h @@ -25,7 +25,11 @@ #include <gst/gst.h> #ifndef GST_CODEC_PARSERS_API -#define GST_CODEC_PARSERS_API GST_EXPORT +# ifdef BUILDING_GST_CODEC_PARSERS +# define GST_CODEC_PARSERS_API GST_API_EXPORT /* from config.h */ +# else +# define GST_CODEC_PARSERS_API GST_API_IMPORT +# endif #endif #endif /* __GST_CODEC_PARSERS_PRELUDE_H__ */ |