diff options
Diffstat (limited to 'contrib/libmp4v2/P00-mingw-static.patch')
-rw-r--r-- | contrib/libmp4v2/P00-mingw-static.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/libmp4v2/P00-mingw-static.patch b/contrib/libmp4v2/P00-mingw-static.patch new file mode 100644 index 000000000..268ff7689 --- /dev/null +++ b/contrib/libmp4v2/P00-mingw-static.patch @@ -0,0 +1,16 @@ +Index: mp4v2/include/mp4v2/platform.h +=================================================================== +--- mp4v2/include/mp4v2/platform.h (revision 272) ++++ mp4v2/include/mp4v2/platform.h (working copy) +@@ -24,8 +24,10 @@ + #if defined( _WIN32 ) || defined( __MINGW32__ ) + # if defined( _WINDLL ) || defined( DLL_EXPORT ) + # define MP4V2_EXPORT __declspec(dllexport) ++# elif defined( _DLL ) || defined( DLL_IMPORT ) ++# define MP4V2_EXPORT __declspec(dllimport) + # else +-# define MP4V2_EXPORT __declspec(dllimport) ++# define MP4V2_EXPORT + # endif + #else + # define MP4V2_EXPORT __attribute__((visibility("default"))) |