Merge "Avoid duplicated definition in llndk-versioning.h" into main am: d49456a11f
am: 1f276d3732
Original change: https://android-review.googlesource.com/c/platform/system/core/+/3002662 Change-Id: I6c73054575cc220a40eed039445ca34ef363143f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
b055317324
1 changed files with 2 additions and 0 deletions
|
@ -48,7 +48,9 @@
|
|||
|
||||
// For non-vendor modules, API_LEVEL_AT_LEAST is replaced with __builtin_available(sdk_api_level) to
|
||||
// guard the API for __INTRODUCED_IN.
|
||||
#if !defined(API_LEVEL_AT_LEAST)
|
||||
#define API_LEVEL_AT_LEAST(sdk_api_level, vendor_api_level) \
|
||||
(__builtin_available(android sdk_api_level, *))
|
||||
#endif
|
||||
|
||||
#endif // __ANDROID_VENDOR__
|
||||
|
|
Loading…
Reference in a new issue