diff options
author | Martin Storsjö <martin@martin.st> | 2017-08-24 22:07:04 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-08-31 14:22:06 +0300 |
commit | abf1c058d1bd0ed1b820ea5e501a4484756f00b0 (patch) | |
tree | f2fad10a28333210b238629315577204491576d5 /libavutil | |
parent | e41daa62465036ad36ad0bd14e4936e848d7f07e (diff) | |
download | ffmpeg-streaming-abf1c058d1bd0ed1b820ea5e501a4484756f00b0.zip ffmpeg-streaming-abf1c058d1bd0ed1b820ea5e501a4484756f00b0.tar.gz |
msvc: Properly specify dllexport for data symbols shared across dll boundaries
We currently only have exported data symbols within libavcodec, but
the concept is easy to extend to other libraries if necessary.
The attribute declaration needs to be in a private header though,
since we can't use CONFIG_SHARED in public installed headers.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 8a0076f..7071d2a 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -57,12 +57,6 @@ #endif #endif -#if defined(_MSC_VER) && CONFIG_SHARED -# define av_export __declspec(dllimport) -#else -# define av_export -#endif - #if HAVE_PRAGMA_DEPRECATED # if defined(__ICL) # define FF_DISABLE_DEPRECATION_WARNINGS __pragma(warning(push)) __pragma(warning(disable:1478)) |