mirror of https://git.ffmpeg.org/ffmpeg.git
avutil: Fix compilation with inline asm disabled on mingw
Because of -Werror=implicit-function-declaration the build will fail. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
e208e6d209
commit
08fa828b3f
|
@ -36,6 +36,7 @@ static inline uint64_t read_time(void)
|
|||
|
||||
#elif HAVE_RDTSC
|
||||
|
||||
#include <intrin.h>
|
||||
#define AV_READ_TIME __rdtsc
|
||||
|
||||
#endif /* HAVE_INLINE_ASM */
|
||||
|
|
Loading…
Reference in New Issue