diff options
author | James Cowgill <james410@cowgill.org.uk> | 2015-03-11 14:59:28 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-12 16:45:31 +0100 |
commit | a251aa1a350a1b9d3af07a7948efcc0add8e68ff (patch) | |
tree | 734761ec2cb3ba80db5a0943db29f9b69ad7fe6d /libavutil/mips | |
parent | 27191b82de0b28ead9b3dcce5aaf1933087fd5fb (diff) | |
download | ffmpeg-a251aa1a350a1b9d3af07a7948efcc0add8e68ff.tar.gz |
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: James Cowgill <james410@cowgill.org.uk>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/mips')
-rw-r--r-- | libavutil/mips/asmdefs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavutil/mips/asmdefs.h b/libavutil/mips/asmdefs.h index a3a5ee32b1..fdf82a0107 100644 --- a/libavutil/mips/asmdefs.h +++ b/libavutil/mips/asmdefs.h @@ -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 " |