Commit 08fa828b authored by Alex Smith's avatar Alex Smith Committed by Martin Storsjö

avutil: Fix compilation with inline asm disabled on mingw

Because of -Werror=implicit-function-declaration the build will fail.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent e208e6d2
...@@ -36,6 +36,7 @@ static inline uint64_t read_time(void) ...@@ -36,6 +36,7 @@ static inline uint64_t read_time(void)
#elif HAVE_RDTSC #elif HAVE_RDTSC
#include <intrin.h>
#define AV_READ_TIME __rdtsc #define AV_READ_TIME __rdtsc
#endif /* HAVE_INLINE_ASM */ #endif /* HAVE_INLINE_ASM */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment