summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/include/android/api-level.h3
-rw-r--r--libc/libc.map.txt2
2 files changed, 4 insertions, 1 deletions
diff --git a/libc/include/android/api-level.h b/libc/include/android/api-level.h
index 1b8af78cd..50cb61a6b 100644
--- a/libc/include/android/api-level.h
+++ b/libc/include/android/api-level.h
@@ -110,6 +110,9 @@ __BEGIN_DECLS
/** Names the "R" API level (30), for comparison against `__ANDROID_API__`. */
#define __ANDROID_API_R__ 30
+/** Names the "S" API level (31), for comparison against `__ANDROID_API__`. */
+#define __ANDROID_API_S__ 31
+
/**
* Returns the `targetSdkVersion` of the caller, or `__ANDROID_API_FUTURE__`
* if there is no known target SDK version (for code not running in the
diff --git a/libc/libc.map.txt b/libc/libc.map.txt
index 228477588..10732a12d 100644
--- a/libc/libc.map.txt
+++ b/libc/libc.map.txt
@@ -1550,7 +1550,7 @@ LIBC_R { # introduced=R
_Unwind_VRS_Set; # apex llndk arm
} LIBC_Q;
-LIBC_S { # introduced=31
+LIBC_S { # introduced=S
global:
ffsl;
ffsll;