msm8974-common: libril: Build non-inlined android_atomic methods
* All of the libsec-ril*.so libraries reference these symbols, but Google finally dropped the non-inlined versions from libcutils with Android 8.0. This could be handled with shims in numerous device trees, but shim semantics and implementation aren't exactly stable and we can handle it more cleanly here in one place. * See LineageOS/android_system_core@103e8f560 Change-Id: I787372b739f3ace0d9cbbc33e4bffafa6876665e
This commit is contained in:
parent
f7e78593f9
commit
8f6082f460
@ -32,6 +32,11 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <cutils/properties.h>
|
#include <cutils/properties.h>
|
||||||
|
|
||||||
|
#define ANDROID_ATOMIC_INLINE
|
||||||
|
extern "C" {
|
||||||
|
#include <cutils/atomic.h>
|
||||||
|
}
|
||||||
|
|
||||||
#define INVALID_HEX_CHAR 16
|
#define INVALID_HEX_CHAR 16
|
||||||
|
|
||||||
using namespace android::hardware::radio;
|
using namespace android::hardware::radio;
|
||||||
|
Loading…
Reference in New Issue
Block a user