From d95500c91e5d331c9c89861ae684d6be4fabbbe0 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 23 Oct 2010 18:29:11 +0000 Subject: [PATCH] patch mp4v2 so it builds under mingw64 mingw64 defines _DLL even when building static libs git-svn-id: svn://localhost/HandBrake/trunk@3617 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- contrib/mp4v2/P00-mingw-dllimport.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 contrib/mp4v2/P00-mingw-dllimport.patch diff --git a/contrib/mp4v2/P00-mingw-dllimport.patch b/contrib/mp4v2/P00-mingw-dllimport.patch new file mode 100644 index 00000000..5b7f1a30 --- /dev/null +++ b/contrib/mp4v2/P00-mingw-dllimport.patch @@ -0,0 +1,11 @@ +--- mp4v2-trunk-r355/include/mp4v2/platform.h 2009-05-20 19:52:26.000000000 -0700 ++++ xxx/include/mp4v2/platform.h 2010-09-11 09:36:20.881523832 -0700 +@@ -24,7 +24,7 @@ + #if defined( _WIN32 ) || defined( __MINGW32__ ) + # if defined( _WINDLL ) || defined( DLL_EXPORT ) + # define MP4V2_EXPORT __declspec(dllexport) +-# elif defined( _DLL ) || defined( DLL_IMPORT ) ++# elif defined( DLL_IMPORT ) + # define MP4V2_EXPORT __declspec(dllimport) + # else + # define MP4V2_EXPORT -- 2.11.0