Commit 1d6aae47 authored by Henrik Gramner's avatar Henrik Gramner Committed by Henrik Gramner
Browse files

build: Fix compilation with clang-cl

parent f1aa1b0e
Pipeline #69540 passed with stages
in 4 minutes and 36 seconds
......@@ -116,8 +116,8 @@
# define dav1d_uninit(x) x
#endif
#ifdef _MSC_VER
#include <intrin.h>
#if defined(_MSC_VER) && !defined(__clang__)
#include <intrin.h>
static inline int ctz(const unsigned int mask) {
unsigned long idx;
......
......@@ -115,7 +115,7 @@ int float_near_abs_eps_array_ulp(const float *a, const float *b, float eps,
#if HAVE_ASM
#if ARCH_X86
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
#include <intrin.h>
#define readtime() (_mm_lfence(), __rdtsc())
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment