Skip to content
Snippets Groups Projects
Commit 91058970 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Fix several compiler errors for mingw-32

Change-Id: Ia1628a6130b6614f0471810d88e7a5e112276484
parent 8e60287b
No related branches found
No related tags found
2 merge requests!6Rav1e 11 yushin 1,!3Rav1e 10 yushin
......@@ -61,6 +61,18 @@ typedef size_t uintptr_t;
#include <inttypes.h>
#endif
#if !defined(INT8_MAX)
#define INT8_MAX 127
#endif
#if !defined(INT32_MAX)
#define INT32_MAX 2147483647i32
#endif
#if !defined(INT32_MIN)
#define INT32_MIN (-2147483647i32 - 1)
#endif
#define NELEMENTS(x) (int)(sizeof(x) / sizeof(x[0]))
#endif // AOM_AOM_INTEGER_H_
......@@ -17,6 +17,7 @@
#include "./aom_config.h"
#include "./av1_rtcd.h"
#include "aom/aom_integer.h"
#include "aom_ports/aom_timer.h"
#include "aom_ports/mem.h"
#include "av1/common/onyxc_int.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment