diff options
Diffstat (limited to 'libc/include/android/versioning.h')
-rw-r--r-- | libc/include/android/versioning.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/android/versioning.h b/libc/include/android/versioning.h index cab115602..6e4b8ab1d 100644 --- a/libc/include/android/versioning.h +++ b/libc/include/android/versioning.h @@ -17,6 +17,10 @@ #ifndef ANDROID_VERSIONING_H #define ANDROID_VERSIONING_H +#ifndef __STRING +#define __STRING(x) #x +#endif + #define __INTRODUCED_IN(api_level) __attribute__((annotate("introduced_in=" __STRING(api_level)))) #define __INTRODUCED_IN_FUTURE __attribute__((annotate("introduced_in_future"))) #define __DEPRECATED_IN(api_level) __attribute__((annotate("deprecated_in=" __STRING(api_level)))) |