]> granicus.if.org Git - libx264/commitdiff
checkasm: Fix compilation on Windows with --disable-thread
authorHenrik Gramner <henrik@gramner.com>
Sat, 17 Sep 2016 13:53:59 +0000 (15:53 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sat, 17 Sep 2016 14:41:30 +0000 (16:41 +0200)
tools/checkasm.c

index f6d0ad981f28d049895d502a38351eed535019ae..b075760a6b9cf6ce8da5d60414eccaa7839fd4ad 100644 (file)
 #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