nixpkgs/pkgs/development/libraries/mp4v2/P00-mingw-dllimport.patch

12 lines
496 B
Diff
Raw Normal View History

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