mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
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
7346e66642
commit
2d56e19f2a
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@
|
|||
#include <inttypes.h>
|
||||
#include <cutils/properties.h>
|
||||
|
||||
#define ANDROID_ATOMIC_INLINE
|
||||
extern "C" {
|
||||
#include <cutils/atomic.h>
|
||||
}
|
||||
|
||||
#define INVALID_HEX_CHAR 16
|
||||
|
||||
// Enable verbose logging
|
||||
|
|
Loading…
Reference in a new issue