3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/mp4v2/P00-mingw-dllimport.patch
Wout Mertens d1ebc1a2b3 mp4v2: Add patches from Handbrake project
mp4v2 seems abandoned upstream.

Patches:
- A00: Add API call for subpicture subtitles
- A01: Fix divide by zero
- A02: Give a meaningfull error when hitting 4GB limit
- P00: Fix compilation with mingw32
2014-05-04 01:56:48 +02:00

12 lines
496 B
Diff

--- 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