[x264-devel] checkasm: Fix compilation on Windows with --disable-thread
Henrik Gramner
git at videolan.org
Tue Sep 20 20:57:51 CEST 2016
x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sat Sep 17 15:53:59 2016 +0200| [1ea3c682ca12c7f13ea6f82b42bdc40afcfda87f] | committer: Henrik Gramner
checkasm: Fix compilation on Windows with --disable-thread
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=1ea3c682ca12c7f13ea6f82b42bdc40afcfda87f
---
tools/checkasm.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/checkasm.c b/tools/checkasm.c
index f6d0ad9..b075760 100644
--- a/tools/checkasm.c
+++ b/tools/checkasm.c
@@ -29,6 +29,10 @@
#include "common/common.h"
#include "common/cpu.h"
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
// GCC doesn't align stack variables on ARM, so use .bss
#if ARCH_ARM
#undef ALIGNED_16
More information about the x264-devel
mailing list