mirror of
https://github.com/google/liblc3.git
synced 2026-04-25 08:34:49 +00:00
fix: compilation with older gcc versions
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
#define LC3_ABS(v) ( (v) < 0 ? -(v) : (v) )
|
||||
|
||||
|
||||
#ifdef __ARM_FEATURE_SAT
|
||||
#if defined(__ARM_FEATURE_SAT) && !(__GNUC__ < 10)
|
||||
|
||||
#undef LC3_SAT16
|
||||
#define LC3_SAT16(v) __ssat(v, 16)
|
||||
|
||||
Reference in New Issue
Block a user