diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-03-14 03:35:13 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-03-14 03:35:13 +0000 |
commit | f3a8ae87fd8bd2e10fd7211d368d2ba230713585 (patch) | |
tree | ad3fe8281300b3a6fe25963cb65939adbcbb4447 | |
parent | 8af71663c0780e2f403381a879e8469493b5b417 (diff) | |
parent | ced630225a6ff5b9a246dea00ff4eaa922eb746d (diff) | |
download | bionic-f3a8ae87fd8bd2e10fd7211d368d2ba230713585.tar.gz |
Merge "Ignore bionic versioning in vendor modules" into main
-rw-r--r-- | libc/include/android/versioning.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/include/android/versioning.h b/libc/include/android/versioning.h index 08fe45dfd..c5adc02cf 100644 --- a/libc/include/android/versioning.h +++ b/libc/include/android/versioning.h @@ -76,3 +76,9 @@ #define __VERSIONER_FORTIFY_INLINE #endif // defined(__BIONIC_VERSIONER) + +// Vendor modules do not follow SDK versioning. Ignore NDK guards for vendor modules. +#if defined(__ANDROID_VENDOR__) +#undef __BIONIC_AVAILABILITY +#define __BIONIC_AVAILABILITY(x) +#endif // defined(__ANDROID_VENDOR__) |