summaryrefslogtreecommitdiff
path: root/libc/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/time.h')
-rw-r--r--libc/include/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/time.h b/libc/include/time.h
index 37246b473..9fde77ee8 100644
--- a/libc/include/time.h
+++ b/libc/include/time.h
@@ -77,7 +77,7 @@ struct tm* gmtime_r(const time_t*, struct tm*);
char* strptime(const char*, const char*, struct tm*);
size_t strftime(char*, size_t, const char*, const struct tm*);
-#if __ANDROID_API__ >= 21
+#if __ANDROID_API__ >= __ANDROID_API_L__
size_t strftime_l(char*, size_t, const char*, const struct tm*, locale_t) __INTRODUCED_IN(21);
#else
// Implemented as static inline before 21.