Commit a251aa1a authored by James Cowgill's avatar James Cowgill Committed by Michael Niedermayer

mips/asmdefs: use _ABI64 as defined by gcc

Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header,
the easiest way around this is to just use the preprocessor definitions from
gcc / clang.
Signed-off-by: 's avatarJames Cowgill <james410@cowgill.org.uk>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 27191b82
......@@ -27,9 +27,7 @@
#ifndef AVUTIL_MIPS_ASMDEFS_H
#define AVUTIL_MIPS_ASMDEFS_H
#include <sgidefs.h>
#if _MIPS_SIM == _ABI64
#if defined(_ABI64) && _MIPS_SIM == _ABI64
# define PTRSIZE " 8 "
# define PTRLOG " 3 "
# define PTR_ADDU "daddu "
......
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