Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-vlc@jannau.net>2020-04-10 19:55:04 +0300
committerJanne Grunau <janne-vlc@jannau.net>2020-04-10 23:07:20 +0300
commitef990c9d82f7fa2f6c7c39c53e2c3d6cbc5b0d6c (patch)
treee24883eaf395f5b39111302ec89ab8d18af88f7d /include
parent87d5dc8e3bd6863391acdbcac845796bc17f284c (diff)
memory sanitizer: mask all CPU flags
Memory sanitizer depends on compiler instrumentation which makes it inherently incompatible with asm DSP functions. Refs #336
Diffstat (limited to 'include')
-rw-r--r--include/common/attributes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common/attributes.h b/include/common/attributes.h
index d5c4ce5..0683b50 100644
--- a/include/common/attributes.h
+++ b/include/common/attributes.h
@@ -159,4 +159,8 @@ static inline int clzll(const unsigned long long mask) {
}
#endif /* !_MSC_VER */
+#ifndef __has_feature
+#define __has_feature(x) 0
+#endif
+
#endif /* DAV1D_COMMON_ATTRIBUTES_H */