projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e208e6d
)
avutil: Fix compilation with inline asm disabled on mingw
author
Alex Smith
<alex.smith@warpsharp.info>
Sat, 21 Sep 2013 11:22:12 +0000
(07:22 -0400)
committer
Martin Storsjö
<martin@martin.st>
Sat, 21 Sep 2013 21:50:32 +0000
(
00:50
+0300)
Because of -Werror=implicit-function-declaration the build will fail.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/x86/timer.h
patch
|
blob
|
history
diff --git
a/libavutil/x86/timer.h
b/libavutil/x86/timer.h
index
35e614d
..
cdd67dd
100644
(file)
--- a/
libavutil/x86/timer.h
+++ b/
libavutil/x86/timer.h
@@
-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 */