diff options
author | James Almer <jamrial@gmail.com> | 2017-11-19 18:26:45 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-19 18:26:45 -0300 |
commit | c9cd990dcc8e3bdfb3be8eacd6ce62e1da8b4077 (patch) | |
tree | bcda783886df572c4cf966efd8510be717f4595f /libavutil | |
parent | c6f7eb86639f7efffa777c5732fa41d89fdd2ff9 (diff) | |
parent | 3152058bf1dca318898550efacf0286f4836cae6 (diff) | |
download | ffmpeg-c9cd990dcc8e3bdfb3be8eacd6ce62e1da8b4077.tar.gz |
Merge commit '3152058bf1dca318898550efacf0286f4836cae6'
* commit '3152058bf1dca318898550efacf0286f4836cae6':
libavcodec: Don't use dllexport, only dllimport when building DLLs
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 72ae0ad89b..c77dfa7d3c 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -63,12 +63,8 @@ #endif #endif -#if defined(_WIN32) && CONFIG_SHARED -#ifdef BUILDING_avutil -# define av_export_avutil __declspec(dllexport) -#else +#if defined(_WIN32) && CONFIG_SHARED && !defined(BUILDING_avutil) # define av_export_avutil __declspec(dllimport) -#endif #else # define av_export_avutil #endif |