summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-08-24 22:07:04 +0300
committerMartin Storsjö <martin@martin.st>2017-08-31 14:22:06 +0300
commitabf1c058d1bd0ed1b820ea5e501a4484756f00b0 (patch)
treef2fad10a28333210b238629315577204491576d5 /libavutil/internal.h
parente41daa62465036ad36ad0bd14e4936e848d7f07e (diff)
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/internal.h')
-rw-r--r--libavutil/internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 8a0076f985..7071d2a587 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))