Created
September 21, 2012 15:36
-
-
Save jeeb/3762224 to your computer and use it in GitHub Desktop.
ffmpegsource, make mingw-w64 compile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: include/ffmscompat.h | |
=================================================================== | |
--- include/ffmscompat.h (revision 712) | |
+++ include/ffmscompat.h (working copy) | |
@@ -39,7 +39,7 @@ | |
# define VERSION_CHECK(LIB, cmp, major, minor, micro, u1, u2, u3) ((LIB) cmp (AV_VERSION_INT(major, minor, micro))) | |
#endif | |
-#ifdef _WIN32 | |
+#if defined(_WIN32) && ! defined(__MINGW64_VERSION_MAJOR) | |
# define snprintf _snprintf | |
# ifdef __MINGW32__ | |
# define fseeko fseeko64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment