diff options
author | Tao Bao <tbao@google.com> | 2017-05-04 01:43:37 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-05-04 01:43:37 +0200 |
commit | 3642b990730349664e64ac5454c6e94c6cbc5eb0 (patch) | |
tree | 1a3293313d04f5f9e7432ee5d13344b22a3fbefd /common.h | |
parent | Merge "Add a default error code when updater script aborts" (diff) | |
parent | Merge "Remove EXPAND/STRINGIFY macros." (diff) | |
download | android_bootable_recovery-3642b990730349664e64ac5454c6e94c6cbc5eb0.tar android_bootable_recovery-3642b990730349664e64ac5454c6e94c6cbc5eb0.tar.gz android_bootable_recovery-3642b990730349664e64ac5454c6e94c6cbc5eb0.tar.bz2 android_bootable_recovery-3642b990730349664e64ac5454c6e94c6cbc5eb0.tar.lz android_bootable_recovery-3642b990730349664e64ac5454c6e94c6cbc5eb0.tar.xz android_bootable_recovery-3642b990730349664e64ac5454c6e94c6cbc5eb0.tar.zst android_bootable_recovery-3642b990730349664e64ac5454c6e94c6cbc5eb0.zip |
Diffstat (limited to '')
-rw-r--r-- | common.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,8 +22,8 @@ #include <string> -#define STRINGIFY(x) #x -#define EXPAND(x) STRINGIFY(x) +static constexpr int kRecoveryApiVersion = RECOVERY_API_VERSION; // Defined in Android.mk. +static_assert(kRecoveryApiVersion >= 3, "Invalid recovery API version."); class RecoveryUI; |