summaryrefslogtreecommitdiffstats
path: root/third_party/aom/av1/common/odintrin.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/av1/common/odintrin.h')
-rw-r--r--third_party/aom/av1/common/odintrin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/aom/av1/common/odintrin.h b/third_party/aom/av1/common/odintrin.h
index fe99d8003..3a778abbd 100644
--- a/third_party/aom/av1/common/odintrin.h
+++ b/third_party/aom/av1/common/odintrin.h
@@ -14,6 +14,9 @@
#ifndef AV1_COMMON_ODINTRIN_H_
#define AV1_COMMON_ODINTRIN_H_
+#if defined(_MSC_VER)
+# define _USE_MATH_DEFINES
+#endif
#include <math.h>
#include <stdlib.h>
#include <string.h>