Browse Source

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>
tags/n2.1
Alex Smith Martin Storsjö 12 years ago
parent
commit
08fa828b3f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/x86/timer.h

+ 1
- 0
libavutil/x86/timer.h View File

@@ -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…
Cancel
Save